Module: xenomai-2.6
Branch: master
Commit: 9a4eb2d1075f466b753838292a3181a763e2f37e
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=9a4eb2d1075f466b753838292a3181a763e2f37e

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Tue Feb  7 17:10:58 2012 +0100

Revert 2dc4288baba1bb701aeb61c44f12a2115b0aef77

It causes a build failure when cross-compiling (for ARM).

---

 configure    |    8 ++++----
 configure.in |   12 ++++++------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/configure b/configure
index 8085c98..b38e32c 100755
--- a/configure
+++ b/configure
@@ -12444,11 +12444,11 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 $as_echo "done" >&6; }
 
-XENO_USER_APP_CFLAGS="-D_GNU_SOURCE -D_REENTRANT"
-XENO_USER_APP_LDFLAGS=
+XENO_USER_CFLAGS="-D_GNU_SOURCE -D_REENTRANT -Wall 
-Werror-implicit-function-declaration -pipe"
+XENO_USER_LDFLAGS=
 
-XENO_USER_CFLAGS="$XENO_USER_CFLAGS -Wall 
-Werror-implicit-function-declaration -pipe"
-XENO_USER_LDFLAGS="$XENO_USER_APP_LDFLAGS"
+XENO_USER_APP_CFLAGS=$XENO_USER_CFLAGS
+XENO_USER_APP_LDFLAGS=$XENO_USER_LDFLAGS
 
 case $XENO_TARGET_ARCH in
  x86)
diff --git a/configure.in b/configure.in
index 2185925..b2563ee 100644
--- a/configure.in
+++ b/configure.in
@@ -448,13 +448,13 @@ else
 fi
 AC_MSG_RESULT([done])
 
-dnl Exported CFLAGS and LDFLAGS, shared with internal flags
-XENO_USER_APP_CFLAGS="-D_GNU_SOURCE -D_REENTRANT"
-XENO_USER_APP_LDFLAGS=
+dnl Common CFLAGS and LDFLAGS
+XENO_USER_CFLAGS="-D_GNU_SOURCE -D_REENTRANT -Wall 
-Werror-implicit-function-declaration -pipe"
+XENO_USER_LDFLAGS=
 
-dnl Internal CFLAGS and LDFLAGS, may be enhanced per-arch below
-XENO_USER_CFLAGS="$XENO_USER_CFLAGS -Wall 
-Werror-implicit-function-declaration -pipe"
-XENO_USER_LDFLAGS="$XENO_USER_APP_LDFLAGS"
+dnl Exported CFLAGS and LDFLAGS, may be enhanced per-arch below
+XENO_USER_APP_CFLAGS=$XENO_USER_CFLAGS
+XENO_USER_APP_LDFLAGS=$XENO_USER_LDFLAGS
 
 case $XENO_TARGET_ARCH in
  x86)


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to