freeswitch: fix build with gcc14

This commit is contained in:
misuzu
2025-06-14 11:06:23 +03:00
parent 3e3afe5174
commit 48e2bc7ca8
+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