diff options
author | Slava Barinov <v.barinov@samsung.com> | 2016-05-24 14:14:10 +0300 |
---|---|---|
committer | Chan Lee <chan45.lee@samsung.com> | 2016-09-07 16:09:24 +0900 |
commit | 392d41b94022dda57b201f3851c2a6334a2f5568 (patch) | |
tree | bc41e8220b7055a600f18da743302cebd7278d01 | |
parent | ca3f89223374249cf3ed18dcfcbab0d04d2a495f (diff) | |
download | gpg2-accepted/tizen_ivi.tar.gz gpg2-accepted/tizen_ivi.tar.bz2 gpg2-accepted/tizen_ivi.zip |
packaging: Switching on -fcommon for Adress Sanitizertizen_4.0.m2_releasetizen_4.0.m1_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_unified/20170308.100412submit/tizen_4.0/20170828.100005submit/tizen_4.0/20170811.094300submit/tizen/20161101.014454accepted/tizen/wearable/20161102.072157accepted/tizen/unified/20170309.035247accepted/tizen/tv/20161102.072141accepted/tizen/mobile/20161102.072124accepted/tizen/ivi/20161102.072214accepted/tizen/common/20161102.121443accepted/tizen/4.0/unified/20170828.222422accepted/tizen/4.0/unified/20170816.010757tizen_4.0_tvtizen_4.0accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonaccepted/tizen_4.0_unified
Change-Id: Ibc6e7aebba1bc2c2057a3bceb5c305509d4a043c
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
-rw-r--r-- | packaging/gpg2.spec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/gpg2.spec b/packaging/gpg2.spec index 1c2f5a7..5456f6d 100644 --- a/packaging/gpg2.spec +++ b/packaging/gpg2.spec @@ -35,10 +35,14 @@ gpg-agent, and a keybox library. cp %{SOURCE1001} . %build +%if 0%{?asan} +%restore_fcommon +export LIBS+=" -ldl " +%endif %autogen # build PIEs (position independent executables) for address space randomisation: PIE="-fpie" -export CFLAGS="%{optflags} ${PIE}" +export CFLAGS="%{optflags} ${PIE} " export LDFLAGS=-pie %configure \ --libexecdir=%{_libdir} \ |