pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/supertuxkart



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Jan 10 11:25:32 UTC 2020

Modified Files:
        pkgsrc/games/supertuxkart: Makefile

Log Message:
supertuxkart: Build fix: 64 bit atomic ops are required on i386


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/games/supertuxkart/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/supertuxkart/Makefile
diff -u pkgsrc/games/supertuxkart/Makefile:1.29 pkgsrc/games/supertuxkart/Makefile:1.30
--- pkgsrc/games/supertuxkart/Makefile:1.29     Sun Sep  1 11:44:19 2019
+++ pkgsrc/games/supertuxkart/Makefile  Fri Jan 10 11:25:32 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2019/09/01 11:44:19 nia Exp $
+# $NetBSD: Makefile,v 1.30 2020/01/10 11:25:32 nia Exp $
 
 VERSION=       1.0
 DISTNAME=      supertuxkart-${VERSION}-src
@@ -26,6 +26,11 @@ CMAKE_ARGS+= -DENABLE_WAYLAND_DEVICE=OFF
 
 .include "../../mk/bsd.prefs.mk"
 
+.if ${MACHINE_ARCH} == "i386"
+# 64 bit atomic ops are required
+CXXFLAGS+=     -march=i586
+.endif
+
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../audio/libvorbis/buildlink3.mk"
 .include "../../audio/openal-soft/buildlink3.mk"



Home | Main Index | Thread Index | Old Index