summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2020-02-06 01:43:38 +0100
committerMaciej Mrozowski <reavertm@gentoo.org>2020-02-06 02:12:12 +0100
commita261cd51f6f433411e0ce044f6424594cf32129e (patch)
tree347413403dbd01e8d364fc7bda1dee32a31fc12b /dev-games/simgear
parentapp-text/nuspell: New package (diff)
downloadgentoo-a261cd51f6f433411e0ce044f6424594cf32129e.tar.gz
gentoo-a261cd51f6f433411e0ce044f6424594cf32129e.tar.bz2
gentoo-a261cd51f6f433411e0ce044f6424594cf32129e.zip
dev-games/simgear: Do not add flags unrelated to cpu_flags_x86_sse2
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'dev-games/simgear')
-rw-r--r--dev-games/simgear/simgear-2019.1.1.ebuild4
-rw-r--r--dev-games/simgear/simgear-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/dev-games/simgear/simgear-2019.1.1.ebuild b/dev-games/simgear/simgear-2019.1.1.ebuild
index e4f8accb9c67..61da9b322ade 100644
--- a/dev-games/simgear/simgear-2019.1.1.ebuild
+++ b/dev-games/simgear/simgear-2019.1.1.ebuild
@@ -49,7 +49,7 @@ src_configure() {
-DENABLE_PKGUTIL=ON
-DENABLE_RTI=OFF
-DENABLE_SIMD=OFF # see CPU_FLAGS
- -DENABLE_SIMD_CODE=OFF
+ -DENABLE_SIMD_CODE=$(usex cpu_flags_x86_sse2)
-DENABLE_SOUND=ON
-DENABLE_TESTS=$(usex test)
-DSIMGEAR_HEADLESS=OFF
@@ -61,7 +61,7 @@ src_configure() {
)
if use cpu_flags_x86_sse2; then
- append-flags -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize
+ append-flags -msse2 -mfpmath=sse
fi
cmake-utils_src_configure
diff --git a/dev-games/simgear/simgear-9999.ebuild b/dev-games/simgear/simgear-9999.ebuild
index 14feded1bd5a..a06b4dfb3dee 100644
--- a/dev-games/simgear/simgear-9999.ebuild
+++ b/dev-games/simgear/simgear-9999.ebuild
@@ -51,7 +51,7 @@ src_configure() {
-DENABLE_PKGUTIL=ON
-DENABLE_RTI=OFF
-DENABLE_SIMD=OFF # see CPU_FLAGS
- -DENABLE_SIMD_CODE=OFF
+ -DENABLE_SIMD_CODE=$(usex cpu_flags_x86_sse2)
-DENABLE_SOUND=ON
-DENABLE_TESTS=$(usex test)
-DSIMGEAR_HEADLESS=OFF
@@ -63,7 +63,7 @@ src_configure() {
)
if use cpu_flags_x86_sse2; then
- append-flags -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize
+ append-flags -msse2 -mfpmath=sse
fi
cmake-utils_src_configure