pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/supertuxkart supertuxkart: Build fix: 64 bit ato...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c2d4236a41ab
branches:  trunk
changeset: 420965:c2d4236a41ab
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Jan 10 11:25:32 2020 +0000

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

diffstat:

 games/supertuxkart/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r e017c15f6585 -r c2d4236a41ab games/supertuxkart/Makefile
--- a/games/supertuxkart/Makefile       Fri Jan 10 11:22:52 2020 +0000
+++ b/games/supertuxkart/Makefile       Fri Jan 10 11:25:32 2020 +0000
@@ -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 @@
 
 .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