diff options
author | nia <nia@pkgsrc.org> | 2020-01-10 11:22:52 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-01-10 11:22:52 +0000 |
commit | 24b822d0fed4bdad22df333ba14783df7b3aa687 (patch) | |
tree | 23d65c1a82599413b78b9a806ee4f6511227cc40 | |
parent | c24bf803c1a3eccf4d7972c4ae4f8dd32a5f720b (diff) | |
download | pkgsrc-24b822d0fed4bdad22df333ba14783df7b3aa687.tar.gz |
lgogdownloader: Needs 64-bit atomic ops on i386
-rw-r--r-- | games/lgogdownloader/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/games/lgogdownloader/Makefile b/games/lgogdownloader/Makefile index a57dd15be84..88b87b7dc96 100644 --- a/games/lgogdownloader/Makefile +++ b/games/lgogdownloader/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2019/12/21 21:21:12 nia Exp $ +# $NetBSD: Makefile,v 1.43 2020/01/10 11:22:52 nia Exp $ DISTNAME= lgogdownloader-3.5 PKGREVISION= 3 @@ -16,6 +16,13 @@ USE_LANGUAGES= c c++ USE_CMAKE= yes USE_TOOLS+= pkg-config +.include "../../mk/bsd.prefs.mk" + +.if ${MACHINE_ARCH} == "i386" +# 64 bit atomic ops are required +CXXFLAGS+= -march=i586 +.endif + CMAKE_ARGS+= -DJSONCPP_INCLUDE_DIR=${BUILDLINK_DIR}/include/json .include "../../devel/boost-libs/buildlink3.mk" |