Skip to content

Commit 830a780

Browse files
committed
Add flags to the linker
Signed-off-by: Uilian Ries <uilianr@jfrog.com>
1 parent 0ac4dd6 commit 830a780

File tree

2 files changed

+2
-5
lines changed
  • examples/dev_flow/sanitizers/compiler_sanitizers/profiles

2 files changed

+2
-5
lines changed

examples/dev_flow/sanitizers/compiler_sanitizers/profiles/asan

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ include(default)
44
compiler.sanitizer=Address
55

66
[conf]
7-
{% if compiler == "msvc" %}
8-
tools.build:cflags=['/fsanitize=address']
9-
tools.build:cxxflags=['/fsanitize=address']
10-
{% else %}
117
tools.build:cflags=['-fsanitize=address']
128
tools.build:cxxflags=['-fsanitize=address']
13-
{% endif %}
9+
tools.build:exelinkflags=['-fsanitize=address']

examples/dev_flow/sanitizers/compiler_sanitizers/profiles/asan_ubsan

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ compiler.sanitizer=AddressUndefinedBehavior
66
[conf]
77
tools.build:cflags=['-fsanitize=address,undefined']
88
tools.build:cxxflags=['-fsanitize=address,undefined']
9+
tools.build:exelinkflags=['-fsanitize=address,undefined']

0 commit comments

Comments
 (0)