[mednafen] Disabled hardened build, see types.h
by Julian Sikorski
commit 9ec71211a7baac3169dbff2854fdeeaab62b7103
Author: Julian Sikorski <belegdol(a)fedoraproject.org>
Date: Sun Oct 30 04:50:59 2016 +0100
Disabled hardened build, see types.h
mednafen.spec | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/mednafen.spec b/mednafen.spec
index c2d7aea..30863e0 100644
--- a/mednafen.spec
+++ b/mednafen.spec
@@ -1,3 +1,5 @@
+%undefine _hardened_build
+
Name: mednafen
Version: 0.9.39.2
Release: 1%{?dist}
@@ -55,6 +57,12 @@ find \( -name \*.c\* -or -name \*.h\* -or -name \*.inc \) -exec chmod -x {} \;
%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
+
%configure --disable-rpath
%make_build
@@ -80,6 +88,7 @@ rm -rf Documentation/*.def Documentation/*.php Documentation/generate.sh \
- Updated %%description
- Dropped gcc-6 fix
- Cleaned up the .spec file
+- Disabled hardened build, see types.h
* Mon Jul 04 2016 Sérgio Basto <sergio(a)serjux.com> - 0.9.38.7-2
- Fix error compiling with GCC 6.x on Fedora 24
8 years, 1 month
[yabause] Added missing %endif
by Julian Sikorski
commit fa1807369eb4077f16d1cb15c88680daea39916c
Author: Julian Sikorski <belegdol(a)fedoraproject.org>
Date: Sat Oct 29 15:07:30 2016 +0200
Added missing %endif
yabause.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/yabause.spec b/yabause.spec
index 808f4ec..a69a051 100644
--- a/yabause.spec
+++ b/yabause.spec
@@ -50,6 +50,7 @@ export CXXFLAGS
%else
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DYAB_PORTS=qt -DYAB_OPTIMIZATION=-O2 \
-DSH2_DYNAREC:BOOL=OFF .
+%endif
%make_build
8 years, 1 month
[yabause] Disabled dynarec on arm
by Julian Sikorski
commit 6b855b3abebb280f5a91e81d69f2fc9b10026dd1
Author: Julian Sikorski <belegdol(a)fedoraproject.org>
Date: Sat Oct 29 15:06:00 2016 +0200
Disabled dynarec on arm
yabause.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/yabause.spec b/yabause.spec
index cb9fa08..808f4ec 100644
--- a/yabause.spec
+++ b/yabause.spec
@@ -44,7 +44,12 @@ CXXFLAGS="$RPM_OPT_FLAGS -Wl,-z,relro -Wl,-z,now"
export CFLAGS
export CXXFLAGS
+#arm dynarec is broken
+%ifarch %{ix86} x86_64
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DYAB_PORTS=qt -DYAB_OPTIMIZATION=-O2 .
+%else
+%cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DYAB_PORTS=qt -DYAB_OPTIMIZATION=-O2 \
+ -DSH2_DYNAREC:BOOL=OFF .
%make_build
@@ -71,6 +76,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
- Updated Source0 URL
- Fixed permissions and end-of-line encoding rpmlint warnings/errors
- Modernised the .spec file
+- Disabled dynarec on arm
* Thu Jun 02 2016 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.9.14-2
- Disabled hardened build for now, assembly is not ready
8 years, 1 month