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 e66f11133ea0ce9884de583baabeb1f37f66640b..e0d4e657fedd6f5db5d3b3ac59d1c3ea3788956e 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 e5aa6b8eeaccdf31c2b700adf8f2a60af87ec7db..c28670103ad8b2f08ae09aefde4a6e38fdbdfaa5 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