From 042586cd0d6fe771ac96fb719a8ded90458fa64b Mon Sep 17 00:00:00 2001 From: "Dongkyun, Son" Date: Tue, 13 Sep 2016 17:45:24 +0900 Subject: [PATCH] packaging: Add -fcommon to build with ASan Change-Id: I467ca7d3f74859f419edf1785da0f7b3d2269509 Signed-off-by: Dongkyun, Son --- packaging/SDL2.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/SDL2.spec b/packaging/SDL2.spec index 3a21800..cd9493f 100755 --- a/packaging/SDL2.spec +++ b/packaging/SDL2.spec @@ -77,6 +77,9 @@ to develop SDL applications. %setup -q %build +%if "%{asan}" == "1" +%restore_fcommon +%endif %ifos linux CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-directfb --enable-video-tizen %else -- 2.7.4