From fbcec791d08fd35fb1fecbde8577d0c093b03c8e Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Thu, 8 Sep 2016 11:12:00 +0900 Subject: [PATCH] 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 --- packaging/findutils.spec | 4 ++++ 1 file changed, 4 insertions(+) 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)" -- 2.34.1