summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2023-06-14 11:09:47 -0400
committerMichael Orlitzky <mjo@gentoo.org>2023-06-14 11:13:53 -0400
commitc9a1216cb805d26b177f98b927537859ec82997f (patch)
tree462eeb8985c2acd1e4a640c3bb9c1c3fbbe18798 /dev-libs
parentsys-process/systemd-cron: Stabilize 1.15.20 x86, #908495 (diff)
downloadgentoo-c9a1216cb805d26b177f98b927537859ec82997f.tar.gz
gentoo-c9a1216cb805d26b177f98b927537859ec82997f.tar.bz2
gentoo-c9a1216cb805d26b177f98b927537859ec82997f.zip
dev-libs/ntl: set NATIVE=off again.
Pong. NTL detects CPU features at build time, and needs something like CXXFLAGS="-march=native" to do it properly. But, so long as we don't try to enable anything based on the user's CPU_FLAGS_X86, it should be safe to leave NATIVE=off to avoid overriding his CXXFLAGS. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/ntl/ntl-11.5.1-r4.ebuild8
1 files changed, 1 insertions, 7 deletions
diff --git a/dev-libs/ntl/ntl-11.5.1-r4.ebuild b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
index c8e07339e445..a15d8549c839 100644
--- a/dev-libs/ntl/ntl-11.5.1-r4.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
@@ -47,12 +47,6 @@ src_configure() {
# may lead to worse performance." So we are probably not missing out
# on much.
#
- # The NATIVE=on option adds "-march=native" to CXXFLAGS and should
- # not be enabled on Gentoo, but is currently necessary for NTL's CPU
- # feature detection to work (bug 815775). See the upstream issue,
- #
- # https://github.com/libntl/ntl/issues/22
- #
perl DoConfig \
PREFIX="${EPREFIX}"/usr \
LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
@@ -67,7 +61,7 @@ src_configure() {
NTL_GF2X_LIB=on \
NTL_THREADS=$(usex threads on off) \
NTL_ENABLE_AVX_FFT=off \
- NATIVE=on \
+ NATIVE=off \
|| die "DoConfig failed"
if use doc; then