diff options
-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" |