packaging: Turn off ASan build
[platform/upstream/libelf0.git] / packaging / libelf0.spec
index a878445..6df46c4 100644 (file)
@@ -32,6 +32,8 @@ to develop applications that require these.
 cp %{SOURCE1001} .
 
 %build
+%{?asan:/usr/bin/gcc-unforce-options}
+
 export LDFLAGS+=" -z relro"
 %configure --disable-nls
 make %{?_smp_mflags}