projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
079d890
)
[ESan] Disable build with esan
sandbox/denis13/esan
author
Denis Khalikov
<d.khalikov@partner.samsung.com>
Sun, 28 Jan 2018 12:58:30 +0000
(15:58 +0300)
committer
Denis Khalikov
<d.khalikov@partner.samsung.com>
Sun, 28 Jan 2018 12:58:47 +0000
(15:58 +0300)
packaging/rpm.spec
patch
|
blob
|
history
diff --git
a/packaging/rpm.spec
b/packaging/rpm.spec
index
5463a37
..
4c126e6
100644
(file)
--- a/
packaging/rpm.spec
+++ b/
packaging/rpm.spec
@@
-143,6
+143,7
@@
rm -f m4/lt*.m4
/bin/bash -c '/usr/bin/find %{_builddir} -type f -exec sed -e "s|/usr/lib/rpm|%{rpmhome}|g" -i {} \;'
%build
+%{?esan:%gcc_unforce_options}
CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss`"
export CPPFLAGS
export CFLAGS="%{optflags} -ffunction-sections -fPIE"