[Lunar-commits] <moonbase> warsow: build on 64-bit
Paul Bredbury
brebs at lunar-linux.org
Sat Sep 5 14:54:37 CEST 2009
commit 0622b8e626f9203e49458b39c356450f5369af2c
Author: Paul Bredbury <brebs at lunar-linux.org>
Date: Sat Sep 5 19:54:37 2009 +0700
warsow: build on 64-bit
---
zbeta/warsow/BUILD | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/zbeta/warsow/BUILD b/zbeta/warsow/BUILD
index b2b2f1f..0949b81 100644
--- a/zbeta/warsow/BUILD
+++ b/zbeta/warsow/BUILD
@@ -17,7 +17,8 @@
sedit "/fs_basepath =/ s:\.:${INST_DIR}:" qcommon/files.c &&
# Fix for: LoadLibrary (/usr/share/games/warsow/libs/angelwrap_i386.so):(/usr/share/games/warsow/libs/angelwrap_i386.so: undefined symbol: __sync_sub_and_fetch_4)
- sedit 's:CXXFLAGS = \(.*\):CXXFLAGS = -march=i686 \1:' ../libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile &&
+ # $(arch) will be i686 or x86_64
+ sedit "s:CXXFLAGS = \(.*\):CXXFLAGS = -march=$(arch) \1:" ../libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile &&
make BINDIR=bin BUILD_CLIENT=YES BUILD_SERVER=YES BUILD_TV_SERVER=YES \
BUILD_ANGELWRAP=YES BUILD_IRC=YES BUILD_SND_OPENAL=YES \
More information about the Lunar-commits
mailing list