Makefile.in: Move target, host overrides after per-language fragments.
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Wed, 4 Feb 2004 20:39:15 +0000 (20:39 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 4 Feb 2004 20:39:15 +0000 (20:39 +0000)
* Makefile.in: Move target, host overrides after per-language
fragments.

* config/mips/t-iris5-as (FORCE_DEBUG_ADAFLAGS): Clear.
(GNATLIBCFLAGS): Remove -g.

From-SVN: r77270

gcc/ChangeLog
gcc/Makefile.in
gcc/config/mips/t-iris5-as

index db2f9aed92dc621bba225f417b0252a1f2c38829..b5ddc2663e0f1bd2190d954960c74b363546d8ff 100644 (file)
@@ -1,3 +1,11 @@
+2004-02-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * Makefile.in: Move target, host overrides after per-language
+       fragments.
+
+       * config/mips/t-iris5-as (FORCE_DEBUG_ADAFLAGS): Clear.
+       (GNATLIBCFLAGS): Remove -g.
+
 2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c,
index 043b8d4a2202f2e7a787a04820360a6c94238c7f..c70afb6a16d843479a8c3463ce9957dc6942ed26 100644 (file)
@@ -685,16 +685,6 @@ PRETTY_PRINT_H = pretty-print.h input.h $(OBSTACK_H)
 DIAGNOSTIC_H = diagnostic.h diagnostic.def $(PRETTY_PRINT_H)
 C_PRETTY_PRINT_H = $(PRETTY_PRINT_H) $(C_COMMON_H) $(TREE_H)
 
-# target overrides
-ifneq ($(tmake_file),)
-include $(tmake_file)
-endif
-
-# host overrides
-ifneq ($(xmake_file),)
-include $(xmake_file)
-endif
-
 #\f
 # Now figure out from those variables how to compile and link.
 
@@ -954,6 +944,19 @@ ifneq ($(LANG_MAKEFRAGS),)
 include $(LANG_MAKEFRAGS)
 endif
 
+# target and host overrides must follow the per-language makefile fragments
+# so they can override or augment language-specific variables
+
+# target overrides
+ifneq ($(tmake_file),)
+include $(tmake_file)
+endif
+
+# host overrides
+ifneq ($(xmake_file),)
+include $(xmake_file)
+endif
+
 #\f
 
 # -----------------------------
index a1e48956a56f4a6fa9e691fb5d365bb9c65327ee..4e111fa75a03dd68f4c05c7a64a31fa525090279 100644 (file)
@@ -5,3 +5,7 @@ BOOT_CFLAGS = -O2 -save-temps
 
 # omit -g1
 LIBGCC2_DEBUG_CFLAGS =
+
+# omit -g
+FORCE_DEBUG_ADAFLAGS =
+GNATLIBCFLAGS = -O2