* Makefile.in (ALL_CXXFLAGS): Include $(CFLAGS-$@).
authorJoseph Myers <joseph@codesourcery.com>
Wed, 24 Aug 2011 10:42:11 +0000 (11:42 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 24 Aug 2011 10:42:11 +0000 (11:42 +0100)
From-SVN: r178029

gcc/ChangeLog
gcc/Makefile.in

index 70f7b7d9e63f40c6900d1d4687fc84f9fbe17717..a727715429458fb0832a337ef3b070c472054194 100644 (file)
@@ -1,3 +1,7 @@
+2011-08-24  Joseph Myers  <joseph@codesourcery.com>
+
+       * Makefile.in (ALL_CXXFLAGS): Include $(CFLAGS-$@).
+
 2011-08-24  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/50067
index 15c73c63381a8e64baddbcd1c65aaf0116445fc9..8263d7bc994a7c89167e4ae218b5e20fe97d0df9 100644 (file)
@@ -1029,7 +1029,7 @@ ALL_CFLAGS = $(T_CFLAGS) $(CFLAGS-$@) \
   $(CFLAGS) $(INTERNAL_CFLAGS) $(COVERAGE_FLAGS) $(WARN_CFLAGS) @DEFS@
 
 # The C++ version.
-ALL_CXXFLAGS = $(T_CFLAGS) $(CXXFLAGS) $(INTERNAL_CFLAGS) \
+ALL_CXXFLAGS = $(T_CFLAGS) $(CFLAGS-$@) $(CXXFLAGS) $(INTERNAL_CFLAGS) \
   $(COVERAGE_FLAGS) $(WARN_CXXFLAGS) @DEFS@
 
 # Likewise.  Put INCLUDES at the beginning: this way, if some autoconf macro