projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
339019c
)
btrfs-progs: build: properly pass the LDFLAGS during tsan build
author
David Sterba
<dsterba@suse.com>
Fri, 25 Aug 2017 18:09:34 +0000
(20:09 +0200)
committer
David Sterba
<dsterba@suse.com>
Fri, 8 Sep 2017 14:15:05 +0000
(16:15 +0200)
The variable LD_FLAGS does not exist and the flags are not used, we need
to use the newly added internal debugging linker flags.
Signed-off-by: David Sterba <dsterba@suse.com>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
f196198
..
3d55203
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-168,7
+168,7
@@
endif
ifneq (,$(findstring tsan,$(D)))
DEBUG_CFLAGS_INTERNAL += -fsanitize=thread -fPIE
-
LD_FLAGS
+= -fsanitize=thread -ltsan -pie
+
DEBUG_LDFLAGS_INTERNAL
+= -fsanitize=thread -ltsan -pie
endif
ifneq (,$(findstring ubsan,$(D)))