From 3e496f6625f249618f64c5b2a29464d4ec935fcc Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Mon, 8 Feb 2021 18:47:03 +0300 Subject: [PATCH] Add -fstack-protector (Non-MSVC) --- rpcs3/cmake_modules/ConfigureCompiler.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/cmake_modules/ConfigureCompiler.cmake b/rpcs3/cmake_modules/ConfigureCompiler.cmake index dc658b0a5f..453d3abe98 100644 --- a/rpcs3/cmake_modules/ConfigureCompiler.cmake +++ b/rpcs3/cmake_modules/ConfigureCompiler.cmake @@ -24,6 +24,7 @@ else() add_compile_options(-Wall) add_compile_options(-fno-exceptions) + add_compile_options(-fstack-protector) add_compile_options(-ftemplate-depth=1024) add_compile_options(-msse -msse2 -mcx16)