pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/open-simh



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Jan  1 19:51:20 UTC 2024

Modified Files:
        pkgsrc/emulators/open-simh: Makefile

Log Message:
open-simh: avoid clang warnings for gcc-specific optimizations. NFCI.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/emulators/open-simh/Makefile

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

Modified files:

Index: pkgsrc/emulators/open-simh/Makefile
diff -u pkgsrc/emulators/open-simh/Makefile:1.14 pkgsrc/emulators/open-simh/Makefile:1.15
--- pkgsrc/emulators/open-simh/Makefile:1.14    Sun Nov 12 13:21:23 2023
+++ pkgsrc/emulators/open-simh/Makefile Mon Jan  1 19:51:20 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2023/11/12 13:21:23 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2024/01/01 19:51:20 schmonz Exp $
 
 DISTNAME=      open-simh-4.1.0
 PKGNAME=       open-simh-4.1.0.20231024
@@ -32,12 +32,12 @@ PREFER.zlib=                pkgsrc
 # due to the compiler wrapper, it may not always output the expected text.
 # So we hardcode the options here.
 CFLAGS_O+=             -fno-strict-overflow
-CFLAGS_O+=             -fno-unsafe-loop-optimizations
 CFLAGS_O+=             -finline-functions
-CFLAGS_O+=             -fgcse-after-reload
 .if !empty(PKGSRC_COMPILER:Mgcc)
 CFLAGS_O+=             -fpredictive-commoning
 CFLAGS_O+=             -fipa-cp-clone
+CFLAGS_O+=             -fgcse-after-reload
+CFLAGS_O+=             -fno-unsafe-loop-optimizations
 .endif
 
 .if (${MACHINE_ARCH} == "arm")



Home | Main Index | Thread Index | Old Index