Commit 37d56447 authored by Dominik Charousset's avatar Dominik Charousset

Enable GCC's debug mode for hardening build

parent 639ac2ed
...@@ -94,7 +94,7 @@ config = [ ...@@ -94,7 +94,7 @@ config = [
'ASAN_OPTIONS=detect_leaks=1', 'ASAN_OPTIONS=detect_leaks=1',
], ],
]], ]],
// One extra debug build with static libraries and UBSanitizer. // One extra debug build with static libs, UBSan and hardening flags.
['fedora-32', [ ['fedora-32', [
numCores: 4, numCores: 4,
tags: ['docker', 'UBSanitizer'], tags: ['docker', 'UBSanitizer'],
...@@ -104,7 +104,7 @@ config = [ ...@@ -104,7 +104,7 @@ config = [
'CAF_SANITIZERS:STRING=address,undefined', 'CAF_SANITIZERS:STRING=address,undefined',
], ],
extraBuildEnv: [ extraBuildEnv: [
'CXXFLAGS=-fno-sanitize-recover=undefined', 'CXXFLAGS=-fno-sanitize-recover=undefined -D_GLIBCXX_DEBUG',
'LDFLAGS=-fno-sanitize-recover=undefined', 'LDFLAGS=-fno-sanitize-recover=undefined',
], ],
]], ]],
......
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