Make-lang.in (gnatbind): Replace $(ALL_CFLAGS) with $(CFLAGS) on the link line.
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 17 Apr 2011 22:28:52 +0000 (22:28 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 17 Apr 2011 22:28:52 +0000 (22:28 +0000)
* gcc-interface/Make-lang.in (gnatbind): Replace $(ALL_CFLAGS) with
$(CFLAGS) on the link line.

From-SVN: r172622

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

index 8f52d5a50b1d5f78cbe8406dee7aad5f60851ac4..a73831629a1daeed28b4afba05c31744e38486c1 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-17  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/Make-lang.in (gnatbind): Replace $(ALL_CFLAGS) with
+       $(CFLAGS) on the link line.
+
 2011-04-17  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Function>: Declare the
index 2c5fdf414667b49684bd143eea0d64647b88eb58..40ea2001430b2428890484c1b352052f848e2c96 100644 (file)
@@ -485,7 +485,7 @@ gnat1$(exeext): $(TARGET_ADA_SRCS) $(GNAT1_OBJS) $(ADA_BACKEND) $(LIBDEPS)
        $(RM) stamp-gnatlib2-rts stamp-tools
 
 gnatbind$(exeext): ada/b_gnatb.o $(CONFIG_H) $(GNATBIND_OBJS)
-       $(GCC_LINK) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) $(ALL_CFLAGS) $(LIBS) $(SYSLIBS)
+       $(GCC_LINK) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) $(LIBS) $(SYSLIBS) $(CFLAGS)
 
 # use cross-gcc
 gnat-cross: force