Add restore_fcommon macro with Asan extra-pack 22/86822/1
authorJiyong Min <jiyong.min@samsung.com>
Mon, 5 Sep 2016 05:27:48 +0000 (14:27 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Mon, 5 Sep 2016 05:33:30 +0000 (14:33 +0900)
 - PROBLEM
When media-server was built with "--extra-packs asan-force-option", build is not available

[Solution] The "resotore_fcommon" macro is needed

Change-Id: I5d3f4a696f093ba1c4042d5669110bd9c5ea8166
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
packaging/media-server.spec

index b06ee66..f7f48e3 100755 (executable)
@@ -66,6 +66,9 @@ cp %{SOURCE1001} %{SOURCE1002} %{SOURCE1003} .
 cp po/* .
 
 %build
+%if "%{asan}" == "1"
+%restore_fcommon
+%endif
 %if 0%{?product_tv}
 export CFLAGS="$CFLAGS -D_USE_SENIOR_MODE -D_USE_RECORDED_CONTENT -D_USE_SUSPEND_MODE"
 %else