diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-09-25 11:22:58 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-09-25 11:22:58 +0000 |
commit | f436687b85a5720ed8240f25459ef24ced07f828 (patch) | |
tree | 8ac12ee6e5ba851ab64a51b789e1f874dce98925 /games | |
parent | b8898582afef5577dc76beb89c2b875c83fbf0ab (diff) | |
download | ports-f436687b85a5720ed8240f25459ef24ced07f828.tar.gz ports-f436687b85a5720ed8240f25459ef24ced07f828.zip |
- Remove -malign-double on non-i386 platform to fix build on amd64:
quantumminigolf.cpp:1: error: -malign-double makes no sense in the 64bit mode
PR: ports/116614
Submitted by: Dmitry Marakasov <amdmi3 at amdmi3.ru> (maintainer)
Notes
Notes:
svn path=/head/; revision=200091
Diffstat (limited to 'games')
-rw-r--r-- | games/quantumminigolf/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/games/quantumminigolf/Makefile b/games/quantumminigolf/Makefile index 5352d792b71d..ea7e577630c3 100644 --- a/games/quantumminigolf/Makefile +++ b/games/quantumminigolf/Makefile @@ -28,7 +28,10 @@ OPTIONS= OCFLAGS "Use optimized compiler flags" on .include <bsd.port.pre.mk> .if !defined(WITHOUT_OCFLAGS) -CXXFLAGS+= -O3 -fomit-frame-pointer -finline-functions -malign-double -funroll-all-loops +CXXFLAGS+= -O3 -fomit-frame-pointer -finline-functions -funroll-all-loops +. if ${ARCH} == "i386" +CXXFLAGS+= -malign-double +. endif .endif post-patch: |