fluent-bit: remove obsolete TARGET_OS_* workaround

This commit is contained in:
Emily
2025-01-06 00:47:50 +00:00
parent 07464c4dca
commit 873cc4bf0f
+1 -3
View File
@@ -52,11 +52,9 @@ stdenv.mkDerivation (finalAttrs: {
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13" ];
env.NIX_CFLAGS_COMPILE = toString (
# Used by the embedded luajit, but is not predefined on older mac SDKs.
lib.optionals stdenv.hostPlatform.isDarwin [ "-DTARGET_OS_IPHONE=0" ]
# Assumes GNU version of strerror_r, and the posix version has an
# incompatible return type.
++ lib.optionals (!stdenv.hostPlatform.isGnu) [ "-Wno-int-conversion" ]
lib.optionals (!stdenv.hostPlatform.isGnu) [ "-Wno-int-conversion" ]
);
outputs = [