From: Slava Barinov Date: Fri, 26 May 2017 09:01:38 +0000 (+0300) Subject: package: Add libpthread explicitly for ASan build X-Git-Tag: submit/tizen/20170712.125833^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F20%2F131320%2F2;p=sdk%2Ftarget%2Fsdbd.git package: Add libpthread explicitly for ASan build Change-Id: I39508a5c77a41f5ce3b3dfcfe295cb24bde4a367 Signed-off-by: Slava Barinov --- diff --git a/packaging/sdbd.spec b/packaging/sdbd.spec index c3cdb7a..5ad9833 100644 --- a/packaging/sdbd.spec +++ b/packaging/sdbd.spec @@ -68,8 +68,7 @@ SDBD plugin API library cp %{SOURCE1003} . %build - -cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \ +cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} %{?asan:-DCMAKE_EXE_LINKER_FLAGS="-pthread"} make %{?jobs:-j%jobs}