mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Force aarch64 detection to fix build with clang 19
Upstream's Makefile uses uname -m which returns arm64 on OpenBSD, and inadvertently matches the build options added for armv7, now rejected by clang 19: cc: error: unsupported option '-mno-thumb' for target 'aarch64-unknown-openbsd7.6' cc: error: unsupported option '-mfpu=' for target 'aarch64-unknown-openbsd7.6' cc: error: unsupported option '-mfloat-abi=' for target 'aarch64-unknown-openbsd7.6'
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
COMMENT = n64 emulator core
|
||||
SHARED_LIBS = mupen64plus 2.4 # 2.5.9
|
||||
REVISION = 1
|
||||
REVISION = 2
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE = Yes
|
||||
@@ -18,5 +18,8 @@ MUPEN64PLUS_MOD = core
|
||||
MAKE_FLAGS += TARGET=libmupen64plus.so.${LIBmupen64plus_VERSION} \
|
||||
SONAME=libmupen64plus.so \
|
||||
NO_ASM=1
|
||||
.if ${MACHINE_ARCH} == aarch64
|
||||
MAKE_FLAGS += HOST_CPU="aarch64"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
Reference in New Issue
Block a user