pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/meson



Module Name:    pkgsrc
Committed By:   js
Date:           Sun Aug 11 00:10:31 UTC 2024

Modified Files:
        pkgsrc/devel/meson: build.mk

Log Message:
Fix all packages that use Meson being built with -O0

buildtype=plain means debug=false and optimization=plain, which is -O0.
buildtype=release means no debug=false and optimization=3.

Since we want no debug symbols and -O2, we need to specify
-Ddebug=false -Doptimization=2 instead.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/meson/build.mk

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

Modified files:

Index: pkgsrc/devel/meson/build.mk
diff -u pkgsrc/devel/meson/build.mk:1.27 pkgsrc/devel/meson/build.mk:1.28
--- pkgsrc/devel/meson/build.mk:1.27    Sun May 19 05:37:11 2024
+++ pkgsrc/devel/meson/build.mk Sun Aug 11 00:10:31 2024
@@ -1,4 +1,4 @@
-# $NetBSD: build.mk,v 1.27 2024/05/19 05:37:11 wiz Exp $
+# $NetBSD: build.mk,v 1.28 2024/08/11 00:10:31 js Exp $
 
 MESON_REQD?=   0
 .for version in ${MESON_REQD}
@@ -139,7 +139,8 @@ meson-configure:
                --sysconfdir ${PKG_SYSCONFDIR} \
                --wrap-mode=nodownload \
                ${MESON_CROSS_ARGS} \
-               --buildtype=plain ${MESON_ARGS} . output
+               -Ddebug=false \
+               -Doptimization=2 ${MESON_ARGS} . output
 .endfor
 
 do-build: meson-build



Home | Main Index | Thread Index | Old Index