summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/rpm.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/rpm.spec b/packaging/rpm.spec
index 5463a376b..4c126e652 100644
--- 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"