OSDN Git Service

* gcc-interface/Make-lang.in (gnatbind): Replace $(ALL_CFLAGS) with
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Apr 2011 22:28:52 +0000 (22:28 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Apr 2011 22:28:52 +0000 (22:28 +0000)
$(CFLAGS) on the link line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172622 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 8f52d5a..a738316 100644 (file)
@@ -1,5 +1,10 @@
 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
        padded type built for the return type if it is unconstrained.
 
index 2c5fdf4..40ea200 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