[ESan] Disable build with esan sandbox/denis13/esan
authorDenis Khalikov <d.khalikov@partner.samsung.com>
Sun, 28 Jan 2018 12:58:30 +0000 (15:58 +0300)
committerDenis Khalikov <d.khalikov@partner.samsung.com>
Sun, 28 Jan 2018 12:58:47 +0000 (15:58 +0300)
packaging/rpm.spec

index 5463a37..4c126e6 100644 (file)
@@ -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"