Переглянути джерело

🔨 Disable stack protector on macOS simulator (#24443)

Victor Oliveira 1 рік тому
джерело
коміт
3826b13ab1
Аккаунт користувача з таким Email не знайдено
1 змінених файлів з 2 додано та 1 видалено
  1. 2
    1
      ini/native.ini

+ 2
- 1
ini/native.ini Переглянути файл

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

Завантаження…
Відмінити
Зберегти