summaryrefslogtreecommitdiff
path: root/libcrypto/libcrypto/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'libcrypto/libcrypto/buildfile')
-rw-r--r--libcrypto/libcrypto/buildfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcrypto/libcrypto/buildfile b/libcrypto/libcrypto/buildfile
index 65cbe76..1f0bbd2 100644
--- a/libcrypto/libcrypto/buildfile
+++ b/libcrypto/libcrypto/buildfile
@@ -104,6 +104,14 @@ switch $c.class
# treating them as errors.
#
c.coptions += -Wno-all -Wno-extra -Wno-error
+
+ # @@ TMP Workaround the 'Elliptic Curve code without ASM is broken with
+ # Clang 14' issue (#18225) which is reproduced by the curl
+ # tests. Remove while upgrading to the upstream's version which
+ # contains the 'bn_nist: fix strict aliasing problem (1.1.1 backport)'
+ # commit (318ab8e3967f).
+ #
+ crypto/bn/obj{bn_nist}: c.coptions += -fno-strict-aliasing
}
case 'msvc'
{