pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/zig



Module Name:    pkgsrc
Committed By:   nikita
Date:           Mon Jan 30 21:01:42 UTC 2023

Modified Files:
        pkgsrc/lang/zig: Makefile

Log Message:
lang/zig: ensure that we run everywhere


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/lang/zig/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/zig/Makefile
diff -u pkgsrc/lang/zig/Makefile:1.23 pkgsrc/lang/zig/Makefile:1.24
--- pkgsrc/lang/zig/Makefile:1.23       Sun Jan 22 22:15:30 2023
+++ pkgsrc/lang/zig/Makefile    Mon Jan 30 21:01:42 2023
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2023/01/22 22:15:30 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2023/01/30 21:01:42 nikita Exp $
 
 DISTNAME=      zig-0.10.1
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  https://ziglang.org/download/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
@@ -16,6 +17,9 @@ USE_LANGUAGES=        c c++14
 
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
 CMAKE_ARGS+=   -DDESTDIR=${DESTDIR}
+# avoid full-cu-features available to build host,
+# in other words ensure that we run everywhere
+CMAKE_ARGS+=   -DZIG_TARGET_MCPU=baseline
 
 CHECK_PORTABILITY_SKIP+=       ci/azure/macos_script
 BUILDLINK_TRANSFORM+=          rm:-Werror



Home | Main Index | Thread Index | Old Index