summaryrefslogtreecommitdiff
path: root/debian/patches/sparc64-biarch-long-double-128.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/sparc64-biarch-long-double-128.diff')
-rw-r--r--debian/patches/sparc64-biarch-long-double-128.diff10
1 files changed, 4 insertions, 6 deletions
diff --git a/debian/patches/sparc64-biarch-long-double-128.diff b/debian/patches/sparc64-biarch-long-double-128.diff
index 8cf8e2d..756f58e 100644
--- a/debian/patches/sparc64-biarch-long-double-128.diff
+++ b/debian/patches/sparc64-biarch-long-double-128.diff
@@ -17,14 +17,12 @@ Changelog gcc/
* config/sparc/linux64.h (CC1_SPEC): When defaulting to 64-bit,
don't force -mlong-double-64 when -m32 or -mv8plus is given.
-Index: b/src/gcc/config/sparc/linux64.h
-===================================================================
--- a/src/gcc/config/sparc/linux64.h
+++ b/src/gcc/config/sparc/linux64.h
-@@ -154,9 +154,9 @@ extern const char *host_detect_local_cpu
+@@ -166,9 +166,9 @@ extern const char *host_detect_local_cpu
#else
- #define CC1_SPEC "%{profile:-p} \
- %{m32:%{m64:%emay not use both -m32 and -m64}} \
+ #define CC1_SPEC GNU_USER_TARGET_CC1_SPEC ASAN_CC1_SPEC \
+ "%{m32:%{m64:%emay not use both -m32 and -m64}} \
-%{m32:-mptr32 -mno-stack-bias %{!mlong-double-128:-mlong-double-64} \
+%{m32:-mptr32 -mno-stack-bias \
%{!mcpu*:-mcpu=cypress}} \
@@ -32,4 +30,4 @@ Index: b/src/gcc/config/sparc/linux64.h
+%{mv8plus:-mptr32 -mno-stack-bias \
%{!mcpu*:-mcpu=v9}} \
%{!m32:%{!mcpu*:-mcpu=ultrasparc}} \
- %{!mno-vis:%{!m32:%{!mcpu=v9:-mvis}}} \
+ %{!mno-vis:%{!m32:%{!mcpu=v9:-mvis}}}"