From: skybber Date: Sun, 4 Nov 2018 21:11:40 +0000 (+0100) Subject: Fix README - flags for gcc8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aa2c286b82bfbf0c8e3fd0d20211b043db782be7;p=dcevm.git Fix README - flags for gcc8 --- 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