Commit 8c497aec authored by Pellegrino Prevete's avatar Pellegrino Prevete Committed by Guido Gunther

build: Don't use -fstack-protector-strong on mingw64

This unbreaks compilation on that platform.

Closes: #64
parent e9e8adda
Pipeline #2635 passed with stage
in 2 minutes and 55 seconds
......@@ -83,8 +83,15 @@ test_c_args = [
target_system = target_machine.system()
if get_option('buildtype') != 'plain'
test_c_args += '-fstack-protector-strong'
if target_system == 'windows'
test_c_args += '-fstack-protector'
test_c_args += '-fstack-protector-strong'
if get_option('profiling')
test_c_args += '-pg'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment