pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/ghc98
Module Name: pkgsrc
Committed By: wiz
Date: Tue Jul 30 11:38:42 UTC 2024
Modified Files:
pkgsrc/lang/ghc98: Makefile
Log Message:
ghc98: fix PR 58379
Add -D__STDC_NO_ATOMICS__ to CFLAGS per upstream recommendation
to disable AVX-512 support.
Fixes build on at least NetBSD systems with AVX-512 CPUs.
Enabled unconditionally since there are reports that this also
causes problems on other operating systems.
Ok pho@
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/ghc98/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/ghc98/Makefile
diff -u pkgsrc/lang/ghc98/Makefile:1.5 pkgsrc/lang/ghc98/Makefile:1.6
--- pkgsrc/lang/ghc98/Makefile:1.5 Thu Jun 20 12:49:39 2024
+++ pkgsrc/lang/ghc98/Makefile Tue Jul 30 11:38:42 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2024/06/20 12:49:39 jperkin Exp $
+# $NetBSD: Makefile,v 1.6 2024/07/30 11:38:42 wiz Exp $
# -----------------------------------------------------------------------------
# Package metadata
#
@@ -102,6 +102,9 @@ CONFIGURE_ENV+= ac_cv_path_HSCOLOUR=
CONFIGURE_ARGS+= ${CONFIGURE_ARGS.common}
CONFIGURE_ARGS+= --with-system-libffi
+# workaround for http://gnats.netbsd.org/58379
+CFLAGS+= -D__STDC_NO_ATOMICS__
+
# CFLAGS and LDFLAGS are currently not honored by "./configure". Since
# LDFLAGS contains rpath flags it's very important to force GHC to honor
# it. Otherwise neither GHC itself nor executables it produces will have
Home |
Main Index |
Thread Index |
Old Index