aboutsummaryrefslogtreecommitdiffstats
path: root/factor/yafu
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2015-11-21 15:11:27 +0800
committerTing-Wei Lan <lantw44@gmail.com>2015-11-21 15:18:42 +0800
commit89cc580288e93680c267acf416a541e64ef59ed7 (patch)
treebd5fc116fb3a9b62826c59166746d8e8a7b0e161 /factor/yafu
parent53267a1eec165de3b26cf2adbaa7977bb76d3250 (diff)
downloadcopr-rpm-spec-89cc580288e93680c267acf416a541e64ef59ed7.tar
copr-rpm-spec-89cc580288e93680c267acf416a541e64ef59ed7.tar.gz
copr-rpm-spec-89cc580288e93680c267acf416a541e64ef59ed7.tar.bz2
copr-rpm-spec-89cc580288e93680c267acf416a541e64ef59ed7.tar.lz
copr-rpm-spec-89cc580288e93680c267acf416a541e64ef59ed7.tar.xz
copr-rpm-spec-89cc580288e93680c267acf416a541e64ef59ed7.tar.zst
copr-rpm-spec-89cc580288e93680c267acf416a541e64ef59ed7.zip
Harden packages
Diffstat (limited to 'factor/yafu')
-rw-r--r--factor/yafu/yafu.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/factor/yafu/yafu.spec b/factor/yafu/yafu.spec
index 3743f43..87d4c55 100644
--- a/factor/yafu/yafu.spec
+++ b/factor/yafu/yafu.spec
@@ -1,6 +1,6 @@
Name: yafu
Version: 1.34
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Automated integer factorization
Group: Applications/Engineering
@@ -28,7 +28,7 @@ utilize multi- or many-core processors (including SNFS, GNFS, SIQS, and ECM).
sed -i 's|-lmsieve|-lmsieve -lz|' Makefile
%ifarch x86_64
-make %{?_smp_mflags} x86_64 NFS=1 USE_SSE41=1
+make %{?_smp_mflags} x86_64 NFS=1 USE_SSE41=1 CC="gcc %{optflags} %{__global_ldflags}"
%else
false
%endif
@@ -46,6 +46,9 @@ install -m 755 yafu %{buildroot}%{_bindir}
%changelog
+* Fri Nov 20 2015 Ting-Wei Lan <lantw44@gmail.com> - 1.34-4
+- Rebuilt for hardening flags
+
* Tue Jul 28 2015 Ting-Wei Lan <lantw44@gmail.com> - 1.34-3
- Rebuilt for Fedora 23 and 24