From aa2c286b82bfbf0c8e3fd0d20211b043db782be7 Mon Sep 17 00:00:00 2001 From: skybber Date: Sun, 4 Nov 2018 22:11:40 +0100 Subject: [PATCH] Fix README - flags for gcc8 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b2745841..570b96f8 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,8 @@ export SA_LDFLAGS=-fobjc-exceptions ### Linux gcc8 specific prebuild steps ```sh -export CFLAGS="-std=gnu++98 -pipe -Wno-stringop-overflow -Wno-deprecated-declarations -Wno-return-type" +export CFLAGS="${CFLAGS//-O2/-O3} ${CPPFLAGS} -Wno-error=deprecated-declarations -Wno-error=stringop-overflow= -Wno-error=return-type -Wno-error=cpp -fno-lifetime-dse -fno-delete-null-pointer-checks" +export CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" ``` ### Compiling DCEVM -- 2.39.5