glib: disable sysprof feature on FreeBSD (#356762)
This commit is contained in:
commit
6caec53184
@ -126,7 +126,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
finalAttrs.setupHook
|
finalAttrs.setupHook
|
||||||
|
] ++ lib.optionals (!stdenv.hostPlatform.isFreeBSD) [
|
||||||
libsysprof-capture
|
libsysprof-capture
|
||||||
|
] ++ [
|
||||||
pcre2
|
pcre2
|
||||||
] ++ lib.optionals (!stdenv.hostPlatform.isWindows) [
|
] ++ lib.optionals (!stdenv.hostPlatform.isWindows) [
|
||||||
bash gnum4 # install glib-gettextize and m4 macros for other apps to use
|
bash gnum4 # install glib-gettextize and m4 macros for other apps to use
|
||||||
@ -185,6 +187,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
] ++ lib.optionals stdenv.hostPlatform.isFreeBSD [
|
] ++ lib.optionals stdenv.hostPlatform.isFreeBSD [
|
||||||
"-Db_lundef=false"
|
"-Db_lundef=false"
|
||||||
"-Dxattr=false"
|
"-Dxattr=false"
|
||||||
|
"-Dsysprof=disabled" # sysprof-capture does not build on FreeBSD
|
||||||
];
|
];
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = toString [
|
env.NIX_CFLAGS_COMPILE = toString [
|
||||||
|
Loading…
Reference in New Issue
Block a user