diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-17 15:15:32 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-17 15:15:32 +0000 |
commit | 22280ecbb157a82f381f869da71eb01cd9f28963 (patch) | |
tree | 630a145f3ddc3117e1fbe4dbc9541607ffcf4626 /gcc/config/rs6000/t-linux64 | |
parent | 743ff5bb00319c4c8fa363ee296fd859b4b115ca (diff) | |
download | gcc-22280ecbb157a82f381f869da71eb01cd9f28963.tar.gz |
* config/rs6000/t-linux64 (bispecs): Don't add -mlong-double-128 for
32-bit builds when defaulting to 32-bit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79587 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/t-linux64')
-rw-r--r-- | gcc/config/rs6000/t-linux64 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/config/rs6000/t-linux64 b/gcc/config/rs6000/t-linux64 index 0e86f5f26ff..77ba93e9152 100644 --- a/gcc/config/rs6000/t-linux64 +++ b/gcc/config/rs6000/t-linux64 @@ -37,5 +37,8 @@ fp-bit32.c: $(srcdir)/config/fp-bit.c mklibgcc: bispecs bispecs: specs - sed -e '/cc1_options/{ n; s/$$/ %{!m32:-mlong-double-128}/; }' < specs > $@ - + if [ x`$(GCC_FOR_TARGET) -print-multi-os-directory` = x../lib ]; then \ + sed -e '/cc1_options/{ n; s/$$/ %{m64:-mlong-double-128}/; }' < specs > $@; \ + else \ + sed -e '/cc1_options/{ n; s/$$/ %{!m32:-mlong-double-128}/; }' < specs > $@; \ + fi |