pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/picodrive



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Thu Dec 26 02:32:39 UTC 2024

Modified Files:
        pkgsrc/emulators/picodrive: Makefile.common

Log Message:
picodrive: fix reversed -march and -mfpu settings for ARM


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/picodrive/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/picodrive/Makefile.common
diff -u pkgsrc/emulators/picodrive/Makefile.common:1.2 pkgsrc/emulators/picodrive/Makefile.common:1.3
--- pkgsrc/emulators/picodrive/Makefile.common:1.2      Sun Dec 22 13:31:54 2024
+++ pkgsrc/emulators/picodrive/Makefile.common  Thu Dec 26 02:32:39 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2024/12/22 13:31:54 nia Exp $
+# $NetBSD: Makefile.common,v 1.3 2024/12/26 02:32:39 gutteridge Exp $
 
 .include "../../mk/bsd.fast.prefs.mk"
 
@@ -6,7 +6,7 @@ NOT_FOR_PLATFORM=       ${BIGENDIANPLATFORMS}
 
 .if ${MACHINE_ARCH} == "earmv7hf"
 # Avoid mixing in Thumb code with Picodrive's ARM asm.
-CFLAGS+=       -marm -mfpu=vfp -march=armv6 -fno-use-linker-plugin
+CFLAGS+=       -marm -mfpu=neon -march=armv7-a -fno-use-linker-plugin
 MAKE_FLAGS+=   ARCH=arm
 MAKE_FLAGS+=   ARM_ASM=1
 MAKE_FLAGS+=   use_cyclone=0
@@ -16,7 +16,7 @@ MAKE_FLAGS+=  use_cz80=1
 MAKE_FLAGS+=   use_sh2drc=1
 MAKE_FLAGS+=   use_svpdrc=1
 .elif ${MACHINE_ARCH} == "earmv6hf"
-CFLAGS+=       -marm -mfpu=neon -march=armv7-a -fno-use-linker-plugin
+CFLAGS+=       -marm -mfpu=vfp -march=armv6 -fno-use-linker-plugin
 MAKE_FLAGS+=   ARCH=arm
 MAKE_FLAGS+=   ARM_ASM=1
 MAKE_FLAGS+=   asm_memory=1



Home | Main Index | Thread Index | Old Index