Makefile.rtl (a-except.o): Put -O1 earlier so that it can be overriden if needed...
authorArnaud Charlet <charlet@adacore.com>
Tue, 15 Oct 2019 10:12:15 +0000 (10:12 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Oct 2019 10:12:15 +0000 (12:12 +0200)
* Makefile.rtl (a-except.o): Put -O1 earlier so that it can be
overriden if needed by other variables.

From-SVN: r276988

gcc/ada/ChangeLog
gcc/ada/Makefile.rtl

index e66f111..e0d4e65 100644 (file)
@@ -1,3 +1,8 @@
+2019-10-15  Arnaud Charlet  <charlet@adacore.com>
+
+       * Makefile.rtl (a-except.o): Put -O1 earlier so that it can be
+       overriden if needed by other variables.
+
 2019-10-12  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR ada/91995
index e5aa6b8..c286701 100644 (file)
@@ -2733,8 +2733,8 @@ s-tasdeb.o  : s-tasdeb.adb s-tasdeb.ads
 # use -O1 otherwise gdb isn't able to get a full backtrace on mips targets.
 
 a-except.o  : a-except.adb a-except.ads
-       $(ADAC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) \
-         $(NO_INLINE_ADAFLAGS) $(NO_REORDER_ADAFLAGS) -O1 $(ADA_INCLUDES) \
+       $(ADAC) -c $(ALL_ADAFLAGS) -O1 $(FORCE_DEBUG_ADAFLAGS) \
+         $(NO_INLINE_ADAFLAGS) $(NO_REORDER_ADAFLAGS) $(ADA_INCLUDES) \
          $< $(OUTPUT_OPTION)
 
 # Compile s-excdeb.o without optimization and with debug info to let the