duckstation-qt: Needs minimum SSE2 on i386.

This commit is contained in:
nia 2024-02-17 21:38:20 +00:00
parent 68da930f69
commit ea12177dca
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.2 2023/11/15 08:28:04 wiz Exp $
# $NetBSD: Makefile.common,v 1.3 2024/02/17 21:38:20 nia Exp $
# This is a separate file out of optimism that the non-qt version will
# eventually be portable.
@ -32,6 +32,13 @@ CMAKE_ARGS+= -DENABLE_DISCORD_PRESENCE=OFF
CMAKE_ARGS+= -DBUILD_REGTEST=OFF
CMAKE_ARGS+= -DUSE_DBUS=OFF
.include "../../mk/bsd.prefs.mk"
# Assumes all x86 has SSE2, needs it in audio_stream.cpp.
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
CFLAGS+= -msse2
.endif
INSTALLATION_DIRS+= bin
INSTALLATION_DIRS+= share/pixmaps
INSTALLATION_DIRS+= share/duckstation