]> gcc.gnu.org Git - gcc.git/commitdiff
Fix lto-wrapper link flags
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 26 Feb 2018 11:07:31 +0000 (11:07 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Mon, 26 Feb 2018 11:07:31 +0000 (12:07 +0100)
2018-02-26  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/
* Makefile.in (lto-wrapper): Use ALL_LINKERFLAGS.

From-SVN: r257987

gcc/ChangeLog
gcc/Makefile.in

index 85181cf325a96b088d89062ba5a2c21822a65341..7a070c5f96ba554a32c6c5a7944783e547bbbe55 100644 (file)
@@ -1,3 +1,7 @@
+2018-02-26  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * Makefile.in (lto-wrapper): Use ALL_LINKERFLAGS.
+
 2018-02-26  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
 
         PR target/84521
index 6c37e46f7929ca2ec68fe9c047f04f205ccc67d8..c91499d46c96610d994db3d89f6e4d3b0b1a9d04 100644 (file)
@@ -2151,7 +2151,7 @@ CFLAGS-collect2.o += -DTARGET_MACHINE=\"$(target_noncanonical)\" \
 
 LTO_WRAPPER_OBJS = lto-wrapper.o collect-utils.o ggc-none.o
 lto-wrapper$(exeext): $(LTO_WRAPPER_OBJS) libcommon-target.a $(LIBDEPS)
-       +$(LINKER) $(ALL_COMPILERFLAGS) $(LDFLAGS) -o T$@ \
+       +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o T$@ \
           $(LTO_WRAPPER_OBJS) libcommon-target.a $(LIBS)
        mv -f T$@ $@
 
This page took 0.073965 seconds and 5 git commands to generate.