packaging: Add -fcommon to build with Address Sanitizer 23/86823/2 accepted/tizen/3.0/ivi/20161011.055326 accepted/tizen/3.0/mobile/20161015.033926 accepted/tizen/3.0/tv/20161016.005221 accepted/tizen/3.0/wearable/20161015.083727 accepted/tizen/common/20160907.154643 accepted/tizen/ivi/20160908.044150 accepted/tizen/mobile/20160908.043236 accepted/tizen/tv/20160908.043932 accepted/tizen/wearable/20160908.044042 submit/tizen/20160907.074000 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000005 submit/tizen_3.0_mobile/20161015.000005 submit/tizen_3.0_tv/20161015.000004 submit/tizen_3.0_wearable/20161015.000004
authorChan Lee <chan45.lee@samsung.com>
Mon, 5 Sep 2016 02:41:58 +0000 (11:41 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 5 Sep 2016 08:22:54 +0000 (01:22 -0700)
Change-Id: Ica854c690e5f5a47e5eed98108c106b32fc0fbea
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
packaging/murphy.spec

index 1602bf73d1150833fe93e8ae36a189ed992e743f..eca92a8454b87def96c037b6607bac8a7999be22 100644 (file)
@@ -189,6 +189,9 @@ This package contains various test binaries for Murphy.
 cp %{SOURCE1001} .
 
 %build
+%if "%{asan}" == "1"
+%restore_fcommon
+%endif
 %if %{with debug}
 export CFLAGS="-O0 -g3"
 V="V=1"