summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2020-02-06 02:09:45 +0100
committerMaciej Mrozowski <reavertm@gentoo.org>2020-02-06 02:12:16 +0100
commite17ea23a40c1fcdb092d14d118ea10352078b34c (patch)
treea80ef92360504fc93e6e042437f848e1e01fd412 /games-simulation/flightgear/flightgear-9999.ebuild
parentdev-games/simgear: Do not add flags unrelated to cpu_flags_x86_sse2 (diff)
downloadgentoo-e17ea23a40c1fcdb092d14d118ea10352078b34c.tar.gz
gentoo-e17ea23a40c1fcdb092d14d118ea10352078b34c.tar.bz2
gentoo-e17ea23a40c1fcdb092d14d118ea10352078b34c.zip
games-simulation/flightgear: Do not add flags unrelated cpu_flags_x86_sse2, fix live ebuild
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'games-simulation/flightgear/flightgear-9999.ebuild')
-rw-r--r--games-simulation/flightgear/flightgear-9999.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/games-simulation/flightgear/flightgear-9999.ebuild b/games-simulation/flightgear/flightgear-9999.ebuild
index 6303c1ab598d..ce6c889aeb77 100644
--- a/games-simulation/flightgear/flightgear-9999.ebuild
+++ b/games-simulation/flightgear/flightgear-9999.ebuild
@@ -14,7 +14,7 @@ EGIT_BRANCH="next"
LICENSE="GPL-2"
KEYWORDS=""
SLOT="0"
-IUSE="dbus debug examples gdal openmp qt5 +udev +utils vim-syntax"
+IUSE="cpu_flags_x86_sse2 dbus debug examples gdal openmp qt5 +udev +utils vim-syntax"
# Needs --fg-root with path to flightgear-data passed to test runner passed,
# not really worth patching
@@ -81,7 +81,6 @@ src_configure() {
-DENABLE_FGELEV=$(usex utils)
-DENABLE_FGJS=$(usex utils)
-DENABLE_FGVIEWER=$(usex utils)
- -DENABLE_FLITE=OFF
-DENABLE_GDAL=$(usex gdal)
-DENABLE_GPSSMOOTH=$(usex utils)
-DENABLE_HID_INPUT=$(usex udev)
@@ -94,6 +93,8 @@ src_configure() {
-DENABLE_PROFILE=OFF
-DENABLE_QT=$(usex qt5)
-DENABLE_RTI=OFF
+ -DENABLE_SIMD=OFF # see CPU_FLAGS
+ -DENABLE_SIMD_CODE=$(usex cpu_flags_x86_sse2)
-DENABLE_STGMERGE=ON
-DENABLE_TERRASYNC=$(usex utils)
-DENABLE_TRAFFIC=$(usex utils)
@@ -106,8 +107,8 @@ src_configure() {
-DOSG_FSTREAM_EXPORT_FIXED=OFF # TODO also see simgear
-DSP_FDMS=ON
-DSYSTEM_CPPUNIT=OFF # NOTE we do not build tests anyway
- -DSYSTEM_FLITE=ON
- -DSYSTEM_HTS_ENGINE=ON
+ -DSYSTEM_FLITE=OFF
+ -DSYSTEM_HTS_ENGINE=OFF
-DSYSTEM_SPEEX=ON
-DSYSTEM_GSM=ON
-DSYSTEM_SQLITE=ON
@@ -116,7 +117,7 @@ src_configure() {
-DWITH_FGPANEL=$(usex utils)
)
if use cpu_flags_x86_sse2; then
- append-flags -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize
+ append-flags -msse2 -mfpmath=sse
fi
if use gdal && use utils; then
mycmakeargs+=(-DENABLE_DEMCONVERT=ON)