diff --git a/build.sh b/build.sh index c24ed470..a1de1de5 100755 --- a/build.sh +++ b/build.sh @@ -11,7 +11,7 @@ os=$("./detect_os.sh") if [[ "$os" == "linux" ]]; then WARNINGS="-Wno-write-strings -Wno-comment " elif [[ "$os" == "mac" ]]; then -WARNINGS="-Wno-comment -Wno-logical-op-parentheses -Wno-null-dereference -Wno-switch" +WARNINGS="-Wno-write-strings -Wno-comment -Wno-logical-op-parentheses -Wno-null-dereference -Wno-switch" fi FLAGS="-D_GNU_SOURCE -fPIC -fpermissive $BUILD_MODE" diff --git a/meta/build.cpp b/meta/build.cpp index 707d5d3a..53f994a5 100644 --- a/meta/build.cpp +++ b/meta/build.cpp @@ -260,8 +260,7 @@ build_cl(u32 flags, char *code_path, char *code_file, char *out_path, char *out_ # define GCC_OPTS \ "-Wno-write-strings -Wno-deprecated-declarations " \ -"-Wno-comment -Wno-switch -Wno-null-dereference " \ -"-Wno-c++11-compat-deprecated-writable-strings " +"-Wno-comment -Wno-switch -Wno-null-dereference " #define GCC_LIBS \ "-framework Cocoa -framework QuartzCore " \