Skip to content

Commit 8b20a24

Browse files
rhapsodyvLCh-77
authored andcommitted
🔨 Disable stack protector on macOS simulator (MarlinFirmware#24443)
1 parent d3bf689 commit 8b20a24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ini/native.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ build_flags = ${simulator_linux.build_flags} ${simulator_linux.release_flags}
7878
# If Xcode is installed be sure to run `xcode-select --install` first.
7979
#
8080
[simulator_macos]
81-
build_unflags = -lGL
81+
build_unflags = -lGL -fstack-protector-strong
8282
build_flags =
8383
-I/opt/local/include
8484
-I/opt/local/include/freetype2
@@ -87,6 +87,7 @@ build_flags =
8787
-Wl,-framework,OpenGl
8888
-Wl,-framework,CoreFoundation
8989
-lSDL2
90+
-fno-stack-protector
9091

9192
[env:simulator_macos_debug]
9293
extends = env:simulator_linux_debug

0 commit comments

Comments
 (0)