Unverified Commit 651dd8ab authored by Jonas Heinrich's avatar Jonas Heinrich Committed by GitHub
Browse files

Merge pull request #192077 from onny/freeswitch-fix

freeswitch: Fix build error
parents f802caee 58ba2835
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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" ];