diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /dev-games/simgear/simgear-9999.ebuild | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'dev-games/simgear/simgear-9999.ebuild')
-rw-r--r-- | dev-games/simgear/simgear-9999.ebuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/dev-games/simgear/simgear-9999.ebuild b/dev-games/simgear/simgear-9999.ebuild index 10462f88d9fc..4ef9fc550b61 100644 --- a/dev-games/simgear/simgear-9999.ebuild +++ b/dev-games/simgear/simgear-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils cmake-utils toolchain-funcs git-r3 +inherit eutils cmake-utils toolchain-funcs flag-o-matic git-r3 DESCRIPTION="Development library for simulation games" HOMEPAGE="http://www.simgear.org/" @@ -14,7 +14,7 @@ EGIT_BRANCH="next" LICENSE="GPL-2" KEYWORDS="" SLOT="0" -IUSE="+dns debug gdal openmp subversion test" +IUSE="cpu_flags_x86_sse2 +dns debug gdal openmp subversion test" COMMON_DEPEND=" dev-libs/expat @@ -48,7 +48,8 @@ src_configure() { -DENABLE_OPENMP=$(usex openmp) -DENABLE_PKGUTIL=ON -DENABLE_RTI=OFF - -DENABLE_SIMD=ON + -DENABLE_SIMD=OFF # see CPU_FLAGS + -DENABLE_SIMD_CODE=OFF -DENABLE_SOUND=ON -DENABLE_TESTS=$(usex test) -DSIMGEAR_HEADLESS=OFF @@ -58,5 +59,10 @@ src_configure() { -DUSE_AEONWAVE=OFF -DOSG_FSTREAM_EXPORT_FIXED=OFF # TODO perhaps track it ) + + if use cpu_flags_x86_sse2; then + append-flags -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize + fi + cmake-utils_src_configure } |