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>
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)"