diff options
author | Jonas Heinrich <onny@project-insanity.org> | 2022-09-20 15:02:55 +0200 |
---|---|---|
committer | Jonas Heinrich <onny@project-insanity.org> | 2022-09-20 16:03:24 +0200 |
commit | 58ba28355501849635bc5d41c11bc07f55a3f9ab (patch) | |
tree | 294a06484688239dcdb567a1a12247043fc27581 /pkgs/servers/sip | |
parent | 3128b2fc43e0b6d7fc65ea37b603501cb7f586b2 (diff) |
freeswitch: Fix build error
Diffstat (limited to 'pkgs/servers/sip')
-rw-r--r-- | pkgs/servers/sip/freeswitch/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/servers/sip/freeswitch/default.nix b/pkgs/servers/sip/freeswitch/default.nix index c6c594ecaec87..66c294f5d4a89 100644 --- a/pkgs/servers/sip/freeswitch/default.nix +++ b/pkgs/servers/sip/freeswitch/default.nix @@ -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" ]; |