summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorNicolas Schodet2015-04-20 10:34:06 +0200
committerNicolas Schodet2019-10-07 00:44:50 +0200
commitdef502b1c9dba8d5e883e4a22c31a495b631e8a4 (patch)
tree0430a8432c4f4c3272b44e54b643a6b58f9bf2c3 /build
parent7a91c75e1cccf6b32b950100c3eb1a90402443d3 (diff)
Use C++11 feature to implement lengthof
Also disable warning about auto_ptr until it is changed.
Diffstat (limited to 'build')
-rw-r--r--build/top.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/top.mk b/build/top.mk
index 4de2438..385df77 100644
--- a/build/top.mk
+++ b/build/top.mk
@@ -18,7 +18,7 @@ CPPFLAGS := $(DEFS) $(INCLUDES) -MP -MMD
OPTIMIZE ?= -Os
CFLAGS := -g -Wall -W -Wundef -Wno-unused-parameter \
-fno-exceptions $(OPTIMIZE)
-CXXFLAGS := $(CFLAGS) -fno-rtti -fno-threadsafe-statics
+CXXFLAGS := $(CFLAGS) -fno-rtti -fno-threadsafe-statics -std=gnu++11 -Wno-deprecated-declarations
LDFLAGS :=
LDLIBS := $(LIBS)