summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/xonotic/xonotic-0.8.6.ebuild')
-rw-r--r--games-fps/xonotic/xonotic-0.8.6.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games-fps/xonotic/xonotic-0.8.6.ebuild b/games-fps/xonotic/xonotic-0.8.6.ebuild
index dba043261a73..9848e246cedb 100644
--- a/games-fps/xonotic/xonotic-0.8.6.ebuild
+++ b/games-fps/xonotic/xonotic-0.8.6.ebuild
@@ -60,13 +60,15 @@ src_prepare() {
src_compile() {
tc-export CC
+ # do not pass in array to keep the makefile.inc's += flags
+ local -x CPUOPTIMIZATIONS=${CFLAGS}
+
local emakeargs=(
-C source/darkplaces
DEFAULT_SNDAPI=$(usex alsa ALSA OSS)
DP_FS_BASEDIR="${EPREFIX}"/usr/share/${PN}
DP_LINK_ODE=$(usex ode shared no)
STRIP=:
- CPUOPTIMIZATIONS="${CFLAGS}"
GENTOO_LDFLAGS="${LDFLAGS}"
)