freeswitch: Fix build error

This commit is contained in:
Jonas Heinrich 2022-09-20 15:02:55 +02:00
parent 3128b2fc43
commit 58ba283555

View File

@ -125,6 +125,10 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-Wno-error";
# Using c++14 because of build error
# gsm_at.h:94:32: error: ISO C++17 does not allow dynamic exception specifications
CXXFLAGS = "-std=c++14";
CFLAGS = "-D_ANSI_SOURCE";
hardeningDisable = [ "format" ];