pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/amnesia-tdd



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Nov 16 09:36:45 UTC 2023

Modified Files:
        pkgsrc/games/amnesia-tdd: Makefile

Log Message:
amnesia-ttd: Disable use of SIMD on non-amd64


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/games/amnesia-tdd/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/amnesia-tdd/Makefile
diff -u pkgsrc/games/amnesia-tdd/Makefile:1.5 pkgsrc/games/amnesia-tdd/Makefile:1.6
--- pkgsrc/games/amnesia-tdd/Makefile:1.5       Sat Oct 21 17:10:12 2023
+++ pkgsrc/games/amnesia-tdd/Makefile   Thu Nov 16 09:36:45 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2023/10/21 17:10:12 gdt Exp $
+# $NetBSD: Makefile,v 1.6 2023/11/16 09:36:45 nia Exp $
 
 DISTNAME=      amnesia-tdd-0.3.2
 PKGREVISION=   3
@@ -23,6 +23,12 @@ CMAKE_ARGS+= ./amnesia/src
 USE_CXX_FEATURES+=     c++11
 FORCE_CXX_STD=         c++11
 
+.include "../../mk/bsd.prefs.mk"
+.if ${MACHINE_ARCH} != "x86_64"
+# Disables SSE use in HPL2/dependencies/Newton
+CFLAGS+=               -D_SCALAR_ARITHMETIC_ONLY=1
+.endif
+
 .include "../../audio/openal-soft/buildlink3.mk"
 .include "../../devel/SDL2/buildlink3.mk"
 .include "../../devel/devIL/buildlink3.mk"



Home | Main Index | Thread Index | Old Index