Преглед изворни кода

Merge remote-tracking branch 'origin/freebsd' into test

Ole пре 10 година
родитељ
комит
4aa4692186
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      Makefile

+ 2 - 1
Makefile

@@ -18,7 +18,8 @@ EXAMPLE_OBJS    := $(EXAMPLE_SRCS:%.cpp=$(EXAMPLE_DIR)/%.out)
 
 # Compiler
 CXX             ?= clang++
-CXXFLAGS        += -std=c++14 -O2 -g -DDEBUG -fmessage-length=0 -Wall -Wextra -pedantic -Ilib
+CXXFLAGS        += -std=c++14 -O2 -g -DDEBUG -fmessage-length=0 -Wall -Wextra -pedantic -Ilib \
+                   -D_GLIBCXX_USE_C99
 LDLIBS          += -llua
 
 # Default targets