at 18.03-beta 1.3 kB view raw
1diff --git a/libada/Makefile.in b/libada/Makefile.in 2index f5057a0..337e0c6 100644 3--- a/libada/Makefile.in 4+++ b/libada/Makefile.in 5@@ -55,7 +55,7 @@ GCC_WARN_CFLAGS = $(LOOSE_WARN) 6 WARN_CFLAGS = @warn_cflags@ 7 8 TARGET_LIBGCC2_CFLAGS= 9-GNATLIBCFLAGS= -g -O2 10+GNATLIBCFLAGS= -g -O2 $(CFLAGS) 11 GNATLIBCFLAGS_FOR_C = $(GNATLIBCFLAGS) $(TARGET_LIBGCC2_CFLAGS) -fexceptions \ 12 -DIN_RTS @have_getipinfo@ 13 14--- a/gcc/ada/gcc-interface/Makefile.in 15+++ b/gcc/ada/gcc-interface/Makefile.in 16@@ -105,7 +105,7 @@ ADAFLAGS = -W -Wall -gnatpg -gnata 17 SOME_ADAFLAGS =-gnata 18 FORCE_DEBUG_ADAFLAGS = -g 19 GNATLIBFLAGS = -gnatpg -nostdinc 20-GNATLIBCFLAGS = -g -O2 21+GNATLIBCFLAGS = -g -O2 $(CFLAGS_FOR_TARGET) 22 # Pretend that _Unwind_GetIPInfo is available for the target by default. This 23 # should be autodetected during the configuration of libada and passed down to 24 # here, but we need something for --disable-libada and hope for the best. 25@@ -193,7 +193,7 @@ RTSDIR = rts$(subst /,_,$(MULTISUBDIR)) 26 # Link flags used to build gnat tools. By default we prefer to statically 27 # link with libgcc to avoid a dependency on shared libgcc (which is tricky 28 # to deal with as it may conflict with the libgcc provided by the system). 29-GCC_LINK_FLAGS=-static-libgcc 30+GCC_LINK_FLAGS=-static-libgcc $(CFLAGS_FOR_TARGET) 31 32 # End of variables for you to override. 33