Adjust restore_fcommon macro 16/87416/1 accepted/tizen_3.0.m2_base accepted/tizen_3.0_base tizen_3.0 tizen_3.0.m2_base tizen_3.0_base accepted/tizen/3.0.m2/base/20170104.081826 accepted/tizen/3.0/base/20161028.103403 accepted/tizen/4.0/base/20170811.092614 accepted/tizen/base/20160923.170147 submit/tizen_3.0.m2_base/20170104.073748 submit/tizen_3.0_base/20161028.062326 submit/tizen_4.0_base/20170811.071500 submit/tizen_base/20160909.042637 tizen_4.0.m1_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 8 Sep 2016 02:12:00 +0000 (11:12 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 8 Sep 2016 02:17:16 +0000 (11:17 +0900)
Build break at Address Sanitizer testing.

[Model]
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] Build break at Address Sanitizer testing
[Cause & Measure] add restore_fcommon macro at spec file
[Checking Method] N/A

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: Ia752c060761dd601ffed22b4b467e6f55f401cd3
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
packaging/findutils.spec

index 307c487..09029e1 100644 (file)
@@ -42,6 +42,10 @@ switching on the computer.
 cp %{SOURCE1001} .
 
 %build
+%if "%{asan}" == "1"
+%restore_fcommon
+%endif
+
 %ifarch %arm armv5tel armv7l armv7el armv5el
 # this is a workaround for a qemu-user bug, we hit. A qemu patch is being discussed, but for now ...
 export DEFAULT_ARG_SIZE="(31u * 1024u)"