]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* Make-lang.in (gnat1, gnatbind): Pass ALL_CFLAGS on the link line.
authorJakub Jelinek <jakub@redhat.com>
Sat, 15 Dec 2007 07:52:23 +0000 (08:52 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 15 Dec 2007 07:52:23 +0000 (08:52 +0100)
From-SVN: r130952

gcc/ada/ChangeLog
gcc/ada/Make-lang.in

index ce44ffb42b7699c7e2137f453f6d3b4a426f5298..f723fbfced80e5dba35944ddd936a04c5cfa997a 100644 (file)
@@ -1,3 +1,7 @@
+2007-12-15  Jakub Jelinek  <jakub@redhat.com>
+
+       * Make-lang.in (gnat1, gnatbind): Pass ALL_CFLAGS on the link line.
+
 2007-12-13  Samuel Tardieu  <sam@rfc1149.net>
 
        PR ada/34360
index 9664edd03b94c4175f3cf6fab3ad276ceaa26dad..0784b637b420c5ca34371402b40f01de5d57d6d8 100644 (file)
@@ -290,11 +290,11 @@ TARGET_ADA_SRCS =
 # Since the RTL should be built with the latest compiler, remove the
 #  stamp target in the parent directory whenever gnat1 is rebuilt
 gnat1$(exeext): $(TARGET_ADA_SRCS) $(GNAT1_OBJS) $(ADA_BACKEND) $(LIBDEPS)
-       $(GCC_LINK) -o $@ $(GNAT1_OBJS) $(ADA_BACKEND) $(LIBS) $(SYSLIBS)
+       $(GCC_LINK) -o $@ $(GNAT1_OBJS) $(ADA_BACKEND) $(ALL_CFLAGS) $(LIBS) $(SYSLIBS)
        $(RM) stamp-gnatlib2 stamp-tools
 
 gnatbind$(exeext): ada/b_gnatb.o $(CONFIG_H) $(GNATBIND_OBJS)
-       $(GCC_LINK) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) $(LIBS) $(SYSLIBS)
+       $(GCC_LINK) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) $(ALL_CFLAGS) $(LIBS) $(SYSLIBS)
 
 # use cross-gcc
 gnat-cross: force