summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-03-27 06:13:04 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-03-27 06:13:04 +0000
commitd48955eaad28461eba315c73f36fe711a7fb547c (patch)
tree4eb0738aaec1618b0d0e2814f5093b2ae3d41a28
parent2007-03-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-d48955eaad28461eba315c73f36fe711a7fb547c.tar.bz2
2007-03-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/target.m4: Strip CFLAGS (Hack to prevent bsp-cflags from being used to compile "tools").
-rw-r--r--c/src/ChangeLog5
-rw-r--r--c/src/aclocal/target.m41
2 files changed, 6 insertions, 0 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog
index 81f012c60b..48dabeaa42 100644
--- a/c/src/ChangeLog
+++ b/c/src/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-27 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * aclocal/target.m4: Strip CFLAGS (Hack to prevent bsp-cflags from
+ being used to compile "tools").
+
2007-03-13 Joel Sherrill <joel@OARcorp.com>
* libchip/network/sonic.c: Rename Dump_Buffer to rtems_print_buffer.
diff --git a/c/src/aclocal/target.m4 b/c/src/aclocal/target.m4
index df4a747044..f7f9ef7079 100644
--- a/c/src/aclocal/target.m4
+++ b/c/src/aclocal/target.m4
@@ -28,6 +28,7 @@ if test "$no_recursion" != yes; then
-target ) ac_prev=target_alias ;;
-build* | --build* ) ;;
-build ) ac_prev_build_alias ;;
+ CFLAGS=* );; # HACK: Strip CFLAGS
*_alias=* ) ;; # HACK: Workaround to autoconf passing *_alias
],
[rtems_configure_args])