From: DongHun Kwak Date: Thu, 8 Sep 2016 02:12:00 +0000 (+0900) Subject: Adjust restore_fcommon macro X-Git-Tag: submit/tizen_base/20160909.042637^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fbcec791d08fd35fb1fecbde8577d0c093b03c8e;p=product%2Fupstream%2Ffindutils.git Adjust restore_fcommon macro 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 --- diff --git a/packaging/findutils.spec b/packaging/findutils.spec index 307c487..09029e1 100644 --- a/packaging/findutils.spec +++ b/packaging/findutils.spec @@ -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)"