configure.ac: Fix typo
PATCH 1/1 configure.ac: Fix typo
From: Richard Weinberger <[email protected]>
It's XENO_USER_CFLAGS, not XENU_USER_CFLAGS.
With the misnamed variable, xenomai was never built with -O2 on my side and caused funny performance regressions.
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
@@ -743,7 +743,7 @@ fi if test x$use_assert = x; then XENO_USER_CFLAGS_DEBUG="-DNDEBUG $XENO_USER_CFLAGS_DEBUG" fi -XENU_USER_CFLAGS="$XENO_USER_CFLAGS_DEBUG $XENO_USER_CFLAGS" +XENO_USER_CFLAGS="$XENO_USER_CFLAGS_DEBUG $XENO_USER_CFLAGS" XENO_USER_CFLAGS_STDLIB="$XENO_USER_CFLAGS" XENO_USER_CFLAGS="$XENO_USER_CFLAGS -I$topdir/include/$rtcore_type"
Signature · 1 line
2.55.0
Jan Kiszka
AppliedQuoted 7 lines · Richard Weinberger (sigma star gmbh)
From: Richard Weinberger <[email protected]>
It's
XENO_USER_CFLAGS, notXENU_USER_CFLAGS.
With the misnamed variable, xenomai was never built with -O2 on my side and caused funny performance regressions.Fixes 89c1436b3 ("configure: Propagate debug build settings also to plain applications")
At least no stable regression.
Quoted 10 lines
Signed-off-by Richard Weinberger <[email protected]>--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure.ac +0
-0
configure.ac fi · line 749
Quoted 8 lines
configure.ac +1
-1@@ -743,7 +743,7 @@ fi if test x$use_assert = x; then XENO_USER_CFLAGS_DEBUG="-DNDEBUG $XENO_USER_CFLAGS_DEBUG" fi -XENU_USER_CFLAGS="$XENO_USER_CFLAGS_DEBUG $XENO_USER_CFLAGS" +XENO_USER_CFLAGS="$XENO_USER_CFLAGS_DEBUG $XENO_USER_CFLAGS" XENO_USER_CFLAGS_STDLIB="$XENO_USER_CFLAGS" XENO_USER_CFLAGS="$XENO_USER_CFLAGS -I$topdir/include/$rtcore_type"
Thanks, applied.
Jan
Signature · 2 lines
Siemens AG, Foundational Technologies Linux Expert Center
Quoted 10 lines · Jan Kiszka
Quoted 7 lines · Richard Weinberger (sigma star gmbh)
From: Richard Weinberger <[email protected]>
It's
XENO_USER_CFLAGS, notXENU_USER_CFLAGS.
With the misnamed variable, xenomai was never built with -O2 on my side and caused funny performance regressions.Fixes 89c1436b3 ("configure: Propagate debug build settings also to plain applications")At least no stable regression.
Shouldn't the optimization level be separated from the debug settings? -02 inside a variable named XENO_USER_CFLAGS_DEBUG looks a bit strange.
Quoted 27 lines
Quoted 11 lines
Signed-off-by Richard Weinberger <[email protected]>--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure.ac +0
-0configure.ac fi · line 749
Quoted 8 lines
configure.ac +1
-1@@ -743,7 +743,7 @@ fi if test x$use_assert = x; then XENO_USER_CFLAGS_DEBUG="-DNDEBUG $XENO_USER_CFLAGS_DEBUG" fi -XENU_USER_CFLAGS="$XENO_USER_CFLAGS_DEBUG $XENO_USER_CFLAGS" +XENO_USER_CFLAGS="$XENO_USER_CFLAGS_DEBUG $XENO_USER_CFLAGS" XENO_USER_CFLAGS_STDLIB="$XENO_USER_CFLAGS" XENO_USER_CFLAGS="$XENO_USER_CFLAGS -I$topdir/include/$rtcore_type"Thanks, applied.
Jan
Signature · 2 lines
Siemens AG, Foundational Technologies Linux Expert Center
Quoted 8 lines · Florian Bezdeka
Quoted 7 lines · Jan Kiszka
Quoted 6 lines · Richard Weinberger (sigma star gmbh)
From: Richard Weinberger <[email protected]>
It's
XENO_USER_CFLAGS, notXENU_USER_CFLAGS.
With the misnamed variable, xenomai was never built with -O2 on my side and caused funny performance regressions.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Fixes 89c1436b3 ("configure: Propagate debug build settings also to plain applications")At least no stable regression.
Shouldn't the optimization level be separated from the debug settings? -02 inside a variable named
XENO_USER_CFLAGS_DEBUGlooks a bit strange.
XENO_USER_CFLAGS_DEBUG is not simply appended when debugging is on, it controls what kind of debugging-affecting switches we inject. And the optimization level can affect debugging, thus is kept here.
But that has nothing to do with this typo.
Jan
Signature · 2 lines
Siemens AG, Foundational Technologies Linux Expert Center