Browse code

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

- required by the libphonenumber

(cherry picked from commit 75c5a20a870985059f642ac1a6624655332dbca8)

Daniel-Constantin Mierla authored on 11/11/2019 09:51:33
Showing 1 changed files
... ...
@@ -20,7 +20,7 @@ include ../../Makefile.modules
20 20
 
21 21
 cphonenumber.o: cphonenumber.cpp cphonenumber.h
22 22
 	@echo "Compiling $<"
23
-	$(CXX) $(CXXFLAGS) $(CFLAGS) $(C_DEFS) $(DEFS) -c $< -o $@
23
+	$(CXX) -std=c++11 $(CXXFLAGS) $(CFLAGS) $(C_DEFS) $(DEFS) -c $< -o $@
24 24
 
25 25
 phonenum.so: cphonenumber.o
26 26