re PR target/54662 (Wrong warning flags for building mep-pragma.o, fails to build)
authorJoern Rennecke <joern.rennecke@embecosm.com>
Tue, 26 Feb 2013 14:55:31 +0000 (14:55 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 26 Feb 2013 14:55:31 +0000 (14:55 +0000)
        PR target/54662
        * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of
        ALL_CFLAGS.

From-SVN: r196291

gcc/ChangeLog
gcc/config/mep/t-mep

index c245470..7ea63ec 100644 (file)
        (arm_block_move_unaligned_straight): Likewise.
        (arm_adjust_block_mem): Likewise.
 
+       PR target/54662
+       * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of
+       ALL_CFLAGS.
+
 2013-02-26  Marek Polacek  <polacek@redhat.com>
 
        PR tree-optimization/56426
index 7e0321c..b877b95 100644 (file)
@@ -29,7 +29,7 @@ mep-pragma.o: $(srcdir)/config/mep/mep-pragma.c $(CONFIG_H) $(SYSTEM_H) \
        coretypes.h $(TM_H) $(TREE_H) $(RTL_H) $(C_PRAGMA_H) \
        $(CPPLIB_H) hard-reg-set.h output.h $(srcdir)/config/mep/mep-protos.h \
        function.h insn-config.h reload.h $(TARGET_H)
-       $(COMPILER) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
+       $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
 
 MULTILIB_OPTIONS = mel mall-opts mfar
 MULTILIB_DIRNAMES = el allopt far