pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/m4



Module Name:    pkgsrc
Committed By:   js
Date:           Fri Mar 29 00:37:19 UTC 2024

Modified Files:
        pkgsrc/devel/m4: Makefile

Log Message:
devel/m4: Fix build on QNX


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 pkgsrc/devel/m4/Makefile

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

Modified files:

Index: pkgsrc/devel/m4/Makefile
diff -u pkgsrc/devel/m4/Makefile:1.81 pkgsrc/devel/m4/Makefile:1.82
--- pkgsrc/devel/m4/Makefile:1.81       Tue May 24 14:43:03 2022
+++ pkgsrc/devel/m4/Makefile    Fri Mar 29 00:37:19 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2022/05/24 14:43:03 hauke Exp $
+# $NetBSD: Makefile,v 1.82 2024/03/29 00:37:19 js Exp $
 
 DISTNAME=      m4-1.4.19
 PKGREVISION=   1
@@ -18,6 +18,9 @@ INFO_FILES=           yes
 TEST_TARGET=           check
 
 CFLAGS.AIX+=   -D_LINUX_SOURCE_COMPAT
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS.QNX+=   -march=i486  # Defaults to i386 otherwise, which lacks atomics
+.endif
 
 AUTO_MKDIRS=           yes
 



Home | Main Index | Thread Index | Old Index