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/d78c5962a3e9
branches:  trunk
changeset: 347293:d78c5962a3e9
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 6875deab4759 -r d78c5962a3e9 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