summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2016-06-10 16:52:50 -0400
committerMark H Weaver <mhw@netris.org>2016-06-10 16:52:50 -0400
commit8af5cac527eee03005f3809578a0d8258a878f95 (patch)
tree9dc7bfc06f28a8ffb8e8f8ce97c35913ba8dd5f7
parent05aa576b378f1d0debb386948857eb451b90b31f (diff)
downloadpatches-8af5cac527eee03005f3809578a0d8258a878f95.tar
patches-8af5cac527eee03005f3809578a0d8258a878f95.tar.gz
Revert "gnu: openssl: Remove workaround for GCC 4.9.3 (no longer used)."
This reverts commit 12b6f6527e49c8c4191929a72b1692dbd9eb2440.
-rw-r--r--gnu/packages/tls.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 8895fd774e..45c37f7493 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -237,7 +237,15 @@ required structures.")
(string-append "--openssldir=" out
"/share/openssl-" ,version)
- (string-append "--prefix=" out))))))
+ (string-append "--prefix=" out)
+
+ ;; XXX FIXME: Work around a code generation bug in GCC
+ ;; 4.9.3 on ARM when compiled with -mfpu=neon. See:
+ ;; <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66917>
+ ,@(if (and (not (%current-target-system))
+ (string-prefix? "armhf" (%current-system)))
+ '("-mfpu=vfpv3")
+ '()))))))
(add-after
'install 'make-libraries-writable
(lambda* (#:key outputs #:allow-other-keys)