projects
/
trafficserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
529aeea
)
Use -mcx16 on x86 platforms only
author
Aron Xu
<aron@debian.org>
Tue, 2 Feb 2016 04:17:24 +0000
(12:17 +0800)
committer
Jean Baptiste Favre
<debian@jbfavre.org>
Tue, 1 Sep 2020 17:55:21 +0000
(18:55 +0100)
Gbp-Pq: Name 0001-Use-mcx16-on-x86-platforms-only.patch
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 0cd0f72698cd03938f36d4504fdc4854ecc4a8f2..9fa38ec3e73b397d827358e833f7b5cf93cc4bf5 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1487,12
+1487,15
@@
CFLAGS="${__saved_CFLAGS}"
AC_LANG_POP
AC_SUBST(has_128bit_cas)
+case "$host_cpu" in
+ amd64|x86_64|i*86)
AS_IF([test "x$has_128bit_cas" = "x1"], [
AS_IF([test "x$ax_cv_c_compiler_vendor" != "xintel"], [
TS_ADDTO(AM_CFLAGS, [-mcx16])
TS_ADDTO(AM_CXXFLAGS, [-mcx16])
])
])
+esac
# Check for POSIX capabilities library.
# If we don't find it, disable checking for header.