Adapting the gcc-ada patch for gcc-4.4.3.

svn path=/nixpkgs/branches/stdenv-updates/; revision=19701
This commit is contained in:
Lluís Batlle i Rossell 2010-01-27 08:30:56 +00:00
parent 116443e839
commit c85ae25a34

View File

@ -19,9 +19,9 @@ index f5057a0..337e0c6 100644
GNATLIBFLAGS = -gnatpg -nostdinc GNATLIBFLAGS = -gnatpg -nostdinc
-GNATLIBCFLAGS = -g -O2 -GNATLIBCFLAGS = -g -O2
+GNATLIBCFLAGS = -g -O2 $(CFLAGS_FOR_TARGET) +GNATLIBCFLAGS = -g -O2 $(CFLAGS_FOR_TARGET)
GNATLIBCFLAGS_FOR_C = $(GNATLIBCFLAGS) $(TARGET_LIBGCC2_CFLAGS) -fexceptions \ # Pretend that _Unwind_GetIPInfo is available for the target by default. This
-DIN_RTS # should be autodetected during the configuration of libada and passed down to
ALL_ADAFLAGS = $(CFLAGS) $(ADA_CFLAGS) $(ADAFLAGS) # here, but we need something for --disable-libada and hope for the best.
@@ -1838,7 +1838,7 @@ ADA_INCLUDE_SRCS =\ @@ -1838,7 +1838,7 @@ ADA_INCLUDE_SRCS =\
LIBGNAT=../$(RTSDIR)/libgnat.a LIBGNAT=../$(RTSDIR)/libgnat.a