projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
895eeef
)
packaging: Add -fcommon to build with ASan
sandbox/dkson95/asan
author
Dongkyun, Son
<dongkyun.s@samsung.com>
Tue, 13 Sep 2016 08:29:07 +0000
(17:29 +0900)
committer
Dongkyun, Son
<dongkyun.s@samsung.com>
Tue, 13 Sep 2016 08:29:07 +0000
(17:29 +0900)
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
packaging/syslinux.spec
patch
|
blob
|
history
diff --git
a/packaging/syslinux.spec
b/packaging/syslinux.spec
index
0042c1e
..
6d46e10
100644
(file)
--- a/
packaging/syslinux.spec
+++ b/
packaging/syslinux.spec
@@
-70,6
+70,9
@@
booting in the /var/lib/tftpboot directory.
%build
+%if "%{asan}" == "1"
+%restore_fcommon
+%endif
%ifarch %{ix86}
ORIG_CFLAGS="${CFLAGS}"
CFLAGS='-O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables'