]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
t-linux64 (bispecs): Don't add -mlong-double-128 for 32-bit builds when defaulting...
authorJakub Jelinek <jakub@redhat.com>
Wed, 17 Mar 2004 15:15:32 +0000 (16:15 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 17 Mar 2004 15:15:32 +0000 (16:15 +0100)
* config/rs6000/t-linux64 (bispecs): Don't add -mlong-double-128 for
32-bit builds when defaulting to 32-bit.

From-SVN: r79587

gcc/ChangeLog
gcc/config/rs6000/t-linux64

index ea5a37daabe7d59980dd957f1e6d4be39a1fe9b9..589147c807ba970f0afee5ee6398c0bb875310e4 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-17  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/rs6000/t-linux64 (bispecs): Don't add -mlong-double-128 for
+       32-bit builds when defaulting to 32-bit.
+
 2004-03-17  Jan Hubicka  <jh@suse.cz>
 
        * cfgrtl.c (rtl_create_basic_block): Pre-allocate basic_block_info
index 0e86f5f26ff0dbddc412eb352da2b7c466e3c769..77ba93e91525d4cec76ca20f9afc0f68ff3a7078 100644 (file)
@@ -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