浏览代码

🔨 Disable stack protector on macOS simulator (#24443)

Victor Oliveira 2 年前
父节点
当前提交
3826b13ab1
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      ini/native.ini

+ 2
- 1
ini/native.ini 查看文件

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

正在加载...
取消
保存