Turn off building with ASan
authorGonzha Dmitriy Evgenevich <d.gonzha@samsung.com>
Wed, 24 May 2017 10:55:00 +0000 (13:55 +0300)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 29 Jan 2019 02:25:26 +0000 (11:25 +0900)
Turn off ASan for ASan sanitized firmware build

Change-Id: Id497bff3bd43459d25b338ae1cd14e40711a125d

packaging/linux-artik530.spec
packaging/linux-artik7.spec

index 1bb0398..ac491a9 100644 (file)
@@ -71,6 +71,7 @@ Prebuilt linux kernel for out-of-tree modules.
 %setup -q -n linux-%{version}
 
 %build
+%{?asan:/usr/bin/gcc-unforce-options}
 # Make sure EXTRAVERSION says what we want it to say
 sed -i "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}-%{variant}/" Makefile
 
index ad7287f..4046b57 100644 (file)
@@ -71,6 +71,7 @@ Prebuilt linux kernel for out-of-tree modules.
 %setup -q -n linux-%{version}
 
 %build
+%{?asan:/usr/bin/gcc-unforce-options}
 # Make sure EXTRAVERSION says what we want it to say
 sed -i "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}-%{variant}/" Makefile