Browse Source

🔨 Disable stack protector on macOS simulator (#24443)

Victor Oliveira 1 year ago
parent
commit
3826b13ab1
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      ini/native.ini

+ 2
- 1
ini/native.ini View File

78
 # If Xcode is installed be sure to run `xcode-select --install` first.
78
 # If Xcode is installed be sure to run `xcode-select --install` first.
79
 #
79
 #
80
 [simulator_macos]
80
 [simulator_macos]
81
-build_unflags     = -lGL
81
+build_unflags     = -lGL -fstack-protector-strong
82
 build_flags       =
82
 build_flags       =
83
   -I/opt/local/include
83
   -I/opt/local/include
84
   -I/opt/local/include/freetype2
84
   -I/opt/local/include/freetype2
87
   -Wl,-framework,OpenGl
87
   -Wl,-framework,OpenGl
88
   -Wl,-framework,CoreFoundation
88
   -Wl,-framework,CoreFoundation
89
   -lSDL2
89
   -lSDL2
90
+  -fno-stack-protector
90
 
91
 
91
 [env:simulator_macos_debug]
92
 [env:simulator_macos_debug]
92
 extends         = env:simulator_linux_debug
93
 extends         = env:simulator_linux_debug

Loading…
Cancel
Save