Browse Source

phonenum: use -std=c++11 cpp compile flag

- required by the libphonenumber
Daniel-Constantin Mierla 5 years ago
parent
commit
75c5a20a87
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/phonenum/Makefile

+ 1 - 1
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