1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-26 13:25:54 +00:00

🔨 Disable stack protector on macOS simulator (#24443)

This commit is contained in:
Victor Oliveira 2022-07-02 21:31:27 -03:00 committed by GitHub
parent b8741a59df
commit 3826b13ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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