Module: kamailio
Branch: 5.2
Commit: 0614a74d44c98deffada7a8c61edfe7453da260f
URL:
https://github.com/kamailio/kamailio/commit/0614a74d44c98deffada7a8c61edfe7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-01-23T15:21:30+01:00
phonenum: use -std=c++11 cpp compile flag
- required by the libphonenumber
(cherry picked from commit 75c5a20a870985059f642ac1a6624655332dbca8)
---
Modified: src/modules/phonenum/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/0614a74d44c98deffada7a8c61edfe7…
Patch:
https://github.com/kamailio/kamailio/commit/0614a74d44c98deffada7a8c61edfe7…
---
diff --git a/src/modules/phonenum/Makefile b/src/modules/phonenum/Makefile
index 68e7bd8288..28a0359b94 100644
--- a/src/modules/phonenum/Makefile
+++ b/src/modules/phonenum/Makefile
@@ -20,7 +20,7 @@ include ../../Makefile.modules
cphonenumber.o: cphonenumber.cpp cphonenumber.h
@echo "Compiling $<"
- $(CXX) $(CXXFLAGS) $(CFLAGS) $(C_DEFS) $(DEFS) -c $< -o $@
+ $(CXX) -std=c++11 $(CXXFLAGS) $(CFLAGS) $(C_DEFS) $(DEFS) -c $< -o $@
phonenum.so: cphonenumber.o