freeswitch: fix build with gcc14 (#416636)

This commit is contained in:
Aleksana
2025-06-15 19:36:13 +08:00
committed by GitHub
+5 -1
View File
@@ -158,7 +158,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
env.NIX_CFLAGS_COMPILE = "-Wno-error";
env.NIX_CFLAGS_COMPILE = toString [
"-Wno-error"
# https://github.com/signalwire/freeswitch/issues/2495
"-Wno-incompatible-pointer-types"
];
# Using c++14 because of build error
# gsm_at.h:94:32: error: ISO C++17 does not allow dynamic exception specifications