File: float128.patch

package info (click to toggle)
aspectc++ 1:2.2+git20181008-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 18,704 kB
  • sloc: cpp: 110,629; ansic: 7,644; sh: 2,192; makefile: 1,317; pascal: 634; python: 402; xml: 349
file content (20 lines) | stat: -rw-r--r-- 728 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Frédéric Bonnard <frediz@debian.org>
To: Reinhard Tartler <siretart@tauware.de>
Cc: 907632@bugs.debian.org, debian-powerpc@lists.debian.org
Subject: Re: Bug#907632: [ppc64-el] Breaks building aspectc++
Date: Tue, 11 Sep 2018 15:52:38 +0200

--- a/Ag++/PumaConfigFile.cc
+++ b/Ag++/PumaConfigFile.cc
@@ -118,7 +118,11 @@
     config_command_str = "\"" + _config.cc_bin() + "\" "
         + _config.optvec().getString(
             (OptionItem::OPT_GCC | OptionItem::OPT_CONFIG))
+#ifdef __powerpc__ && __powerpc64__ && __LITTLE_ENDIAN__
+        + " -mno-float128 -E -dM -v -x c++ \"" + empty_file_name + "\"";
+#else
         + " -E -dM -v -x c++ \"" + empty_file_name + "\"";
+#endif
   }
 
   // get c compiler output