packaging: Turn off building with ASan
authorGonzha Dmitriy Evgenevich <d.gonzha@samsung.com>
Wed, 24 May 2017 10:51:05 +0000 (13:51 +0300)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 26 Jul 2017 05:25:33 +0000 (14:25 +0900)
Turn off ASan for ASan sanitized firmware build

Change-Id: If786306821ff22e994efaba2b00dcabcc5eb8426
Signed-off-by: Gonzha Dmitriy Evgenevich <d.gonzha@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
packaging/linux-rpi3-arm64.spec

index 44c1e0cdb600d2f08666079d3390a0329534eecf..43220debe1f1d24504f73856cf78b8fa4c982ed2 100644 (file)
@@ -47,6 +47,8 @@ Kernel-modules includes the loadable kernel modules(.ko files) for %{target_boar
 %setup -q -n linux-kernel-%{version}
 
 %build
+%{?asan:/usr/bin/gcc-unforce-options}
+
 # Make sure EXTRAVERSION says what we want it to say
 sed -i "s/^EXTRAVERSION.*/EXTRAVERSION = -%{variant}/" Makefile