From c85ae25a34a24ce06d053b6524e3aad66dec67f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Wed, 27 Jan 2010 08:30:56 +0000 Subject: [PATCH] Adapting the gcc-ada patch for gcc-4.4.3. svn path=/nixpkgs/branches/stdenv-updates/; revision=19701 --- pkgs/development/compilers/gcc-4.4/gnat-cflags.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/gcc-4.4/gnat-cflags.patch b/pkgs/development/compilers/gcc-4.4/gnat-cflags.patch index 8e7c40778fcc..a1bcc98627e8 100644 --- a/pkgs/development/compilers/gcc-4.4/gnat-cflags.patch +++ b/pkgs/development/compilers/gcc-4.4/gnat-cflags.patch @@ -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