3
0
Fork 0
forked from mirrors/nixpkgs

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
-GNATLIBCFLAGS = -g -O2
+GNATLIBCFLAGS = -g -O2 $(CFLAGS_FOR_TARGET)
GNATLIBCFLAGS_FOR_C = $(GNATLIBCFLAGS) $(TARGET_LIBGCC2_CFLAGS) -fexceptions \
-DIN_RTS
ALL_ADAFLAGS = $(CFLAGS) $(ADA_CFLAGS) $(ADAFLAGS)
# Pretend that _Unwind_GetIPInfo is available for the target by default. This
# should be autodetected during the configuration of libada and passed down to
# here, but we need something for --disable-libada and hope for the best.
@@ -1838,7 +1838,7 @@ ADA_INCLUDE_SRCS =\
LIBGNAT=../$(RTSDIR)/libgnat.a