aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskybber <lada.dvorak7@gmail.com>2018-11-04 22:11:40 +0100
committerskybber <lada.dvorak7@gmail.com>2018-11-04 22:11:40 +0100
commitaa2c286b82bfbf0c8e3fd0d20211b043db782be7 (patch)
tree533bee85d90d7e169be0e17a9aac0f455a13dee4
parent4e59b288bb2dfe002fca635bbf1fbdbe08c5e319 (diff)
downloaddcevm-aa2c286b82bfbf0c8e3fd0d20211b043db782be7.tar.gz
dcevm-aa2c286b82bfbf0c8e3fd0d20211b043db782be7.zip
Fix README - flags for gcc8
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
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