🔨 Disable stack protector on macOS simulator (#24443)

This commit is contained in:
Victor Oliveira 2022-07-02 21:31:27 -03:00 committed by Scott Lahteine
parent 9e530cd27b
commit 12ae80bcec

View file

@ -78,7 +78,7 @@ build_flags = ${simulator_linux.build_flags} ${simulator_linux.release_flags}
# If Xcode is installed be sure to run `xcode-select --install` first. # If Xcode is installed be sure to run `xcode-select --install` first.
# #
[simulator_macos] [simulator_macos]
build_unflags = -lGL build_unflags = -lGL -fstack-protector-strong
build_flags = build_flags =
-I/opt/local/include -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include/freetype2
@ -87,6 +87,7 @@ build_flags =
-Wl,-framework,OpenGl -Wl,-framework,OpenGl
-Wl,-framework,CoreFoundation -Wl,-framework,CoreFoundation
-lSDL2 -lSDL2
-fno-stack-protector
[env:simulator_macos_debug] [env:simulator_macos_debug]
extends = env:simulator_linux_debug extends = env:simulator_linux_debug