From e3de45ce32540d647d490654c4f407deaaa704f9 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Wed, 19 Feb 2020 20:32:46 -0800 Subject: [PATCH] add c++11 to GCC options --- bin/4ed_build.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/4ed_build.cpp b/bin/4ed_build.cpp index 7e054818..a69e49f5 100644 --- a/bin/4ed_build.cpp +++ b/bin/4ed_build.cpp @@ -294,7 +294,8 @@ build(Arena *arena, u32 flags, u32 arch, char *code_path, char **code_files, cha "-Wno-write-strings " \ "-D_GNU_SOURCE -fPIC " \ "-fno-threadsafe-statics -pthread " \ -"-Wno-unused-result" +"-Wno-unused-result" \ +"-std=c++11" #define GCC_LIBS_COMMON \ "-lX11 -lpthread -lm -lrt " \