pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk
Module Name: pkgsrc
Committed By: pho
Date: Wed Nov 1 17:55:08 UTC 2023
Modified Files:
pkgsrc/mk: haskell.mk
Log Message:
mk/haskell.mk: Suppress warnings about -fsplit-sections on Darwin
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/mk/haskell.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/haskell.mk
diff -u pkgsrc/mk/haskell.mk:1.57 pkgsrc/mk/haskell.mk:1.58
--- pkgsrc/mk/haskell.mk:1.57 Tue Oct 31 03:24:39 2023
+++ pkgsrc/mk/haskell.mk Wed Nov 1 17:55:08 2023
@@ -1,4 +1,4 @@
-# $NetBSD: haskell.mk,v 1.57 2023/10/31 03:24:39 pho Exp $
+# $NetBSD: haskell.mk,v 1.58 2023/11/01 17:55:08 pho Exp $
#
# This Makefile fragment handles Haskell Cabal packages. Package
# configuration, building, installation, registration and unregistration
@@ -243,7 +243,11 @@ do-test:
.endif
CONFIGURE_ARGS+= -O${HASKELL_OPTIMIZATION_LEVEL}
+.if ${OPSYS} != "Darwin"
+# when making flags consistent: warning:
+# -fsplit-sections is not useful on this platform since it uses subsections-via-symbols. Ignoring.
CONFIGURE_ARGS+= --enable-split-sections
+.endif
# Support RELRO. When PKGSRC_USE_RELRO isn't set to "no",
# mk/compiler/{ghc,clang}.mk add "-Wl,-z,relro" and optionally
Home |
Main Index |
Thread Index |
Old Index