[yabause] Disabled hardened build for now, assembly is not ready

Sérgio M. Basto sergiomb at rpmfusion.org
Fri Jul 1 03:41:40 CEST 2016


commit ecf836c2a626bcda1e497677ea2159e2a543884a
Author: Julian Sikorski <belegdol at fedoraproject.org>
Date:   Thu Jun 2 08:42:11 2016 +0200

    Disabled hardened build for now, assembly is not ready

 yabause.spec | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/yabause.spec b/yabause.spec
index 0f69702..5cf7524 100644
--- a/yabause.spec
+++ b/yabause.spec
@@ -1,6 +1,8 @@
+%undefine _hardened_build
+
 Name:           yabause
 Version:        0.9.14
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A Sega Saturn emulator
 License:        GPLv2+
 URL:            http://yabause.org
@@ -25,6 +27,12 @@ but optionally a real Saturn BIOS can be used, however it is not included.
 
 
 %build
+CFLAGS="$RPM_OPT_FLAGS -Wl,-z,relro -Wl,-z,now"
+CXXFLAGS="$RPM_OPT_FLAGS -Wl,-z,relro -Wl,-z,now"
+
+export CFLAGS
+export CXXFLAGS
+
 %cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DYAB_PORTS=qt -DYAB_OPTIMIZATION=-O2 .
 make %{?_smp_mflags}
 
@@ -46,6 +54,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
 
 
 %changelog
+* Thu Jun 02 2016 Julian Sikorski <belegdol at fedoraproject.org> - 0.9.14-2
+- Disabled hardened build for now, assembly is not ready
+
 * Sat Jun 06 2015 Julian Sikorski <belegdol at fedoraproject.org> - 0.9.14-1
 - Updated to 0.9.14
 


More information about the rpmfusion-commits mailing list