projects
/
platform
/
upstream
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56fd095
)
Add -pthread to LDFLAGS for ASan build
author
Slava Barinov
<v.barinov@samsung.com>
Fri, 26 May 2017 10:07:45 +0000
(13:07 +0300)
committer
Dariusz Michaluk
<d.michaluk@samsung.com>
Mon, 16 Oct 2017 13:05:33 +0000
(15:05 +0200)
Change-Id: If9400099404dc5e66d1bfce5e3d0250dfee34154
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
packaging/krb5.spec
patch
|
blob
|
history
diff --git
a/packaging/krb5.spec
b/packaging/krb5.spec
index
ab6bac0
..
f15972c
100644
(file)
--- a/
packaging/krb5.spec
+++ b/
packaging/krb5.spec
@@
-65,7
+65,7
@@
cp %{SOURCE1001} .
# needs to be re-generated
rm -f src/lib/krb5/krb/deltat.c
cd src
-LDFLAGS+=" -ldl "
+%{?asan:LDFLAGS+=" -ldl -pthread "}
CFLAGS="$RPM_OPT_FLAGS -I/usr/include/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC -fgnu89-inline " \
./configure \
--host=%{_host} --build=%{_build} \