Browse Source

Add -Werror=objc-method-access to macOS flags

Signed-off-by: falkTX <falktx@falktx.com>
pull/28/head
falkTX 3 years ago
parent
commit
769385b541
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      setup/env.sh

+ 1
- 0
setup/env.sh View File

@@ -84,6 +84,7 @@ if [ "${MACOS}" -eq 1 ]; then
BUILD_FLAGS+=" -arch x86_64"
BUILD_FLAGS+=" -Wno-deprecated-declarations"
fi
BUILD_FLAGS+=" -Werror=objc-method-access"
elif [ "${WIN32}" -eq 1 ]; then
BUILD_FLAGS+=" -D__STDC_FORMAT_MACROS=1"
BUILD_FLAGS+=" -D__USE_MINGW_ANSI_STDIO=1"


Loading…
Cancel
Save