]> source.dussan.org Git - dcevm.git/commitdiff
Fix README - flags for gcc8
authorskybber <lada.dvorak7@gmail.com>
Sun, 4 Nov 2018 21:11:40 +0000 (22:11 +0100)
committerskybber <lada.dvorak7@gmail.com>
Sun, 4 Nov 2018 21:11:40 +0000 (22:11 +0100)
README.md

index b274584194d15c00988068633add233a91db272c..570b96f840b924def69732fc6a1c02460a973f01 100644 (file)
--- 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