diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2012-02-07 21:09:39 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-02-07 21:09:39 +0000 |
commit | f95c65397082a367a9668af16bba6f5af935d632 (patch) | |
tree | b411fb740b5cb232fdce9422ac0f8e9a4f691380 | |
parent | 1e4b5b0b2954165f23a1b9705be24c50227a6979 (diff) | |
download | gcc-f95c65397082a367a9668af16bba6f5af935d632.zip gcc-f95c65397082a367a9668af16bba6f5af935d632.tar.gz gcc-f95c65397082a367a9668af16bba6f5af935d632.tar.bz2 |
Make-lang.in (GCC_LINKERFLAGS): New variable.
* gcc-interface/Make-lang.in (GCC_LINKERFLAGS): New variable.
(GCC_LINK): Use it.
From-SVN: r183983
-rw-r--r-- | gcc/ada/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ada/gcc-interface/Make-lang.in | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 9229d01..dad7bcb 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2012-02-07 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/Make-lang.in (GCC_LINKERFLAGS): New variable. + (GCC_LINK): Use it. + 2012-02-01 Tristan Gingold <gingold@adacore.com> * gcc-interface/trans.c (Loop_Statement_to_gnu): Use sizetype diff --git a/gcc/ada/gcc-interface/Make-lang.in b/gcc/ada/gcc-interface/Make-lang.in index 8a6d190..f6ca6083 100644 --- a/gcc/ada/gcc-interface/Make-lang.in +++ b/gcc/ada/gcc-interface/Make-lang.in @@ -165,7 +165,10 @@ else endif endif -GCC_LINK=$(LINKER) $(ALL_LINKERFLAGS) -static-libgcc $(LDFLAGS) +# Strip -Werror during linking for the LTO bootstrap +GCC_LINKERFLAGS = $(filter-out -Werror, $(ALL_LINKERFLAGS)) + +GCC_LINK=$(LINKER) $(GCC_LINKERFLAGS) -static-libgcc $(LDFLAGS) # Lists of files for various purposes. |