about summary refs log tree commit diff
path: root/nix.spec.in
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-02-21T13·26+0100
committerEelco Dolstra <edolstra@gmail.com>2017-02-21T13·26+0100
commitbb6656b8a259f2ad0f90536ee32bc3080e466f1a (patch)
tree2769a9893d5f0a1d09330224fcda8bd65dd546ad /nix.spec.in
parent99bbddedb1e70fc885e05cb398d8bfb438b039ed (diff)
Build RPMs for Fedora 25
Disabled hardened build because it makes the linker fail with messages like

  relocation R_X86_64_PC32 against undefined symbol `BZ2_bzWriteOpen' can not be used when making a shared object; recompile with -fPIC

See https://fedoraproject.org/wiki/Changes/Harden_All_Packages.
Diffstat (limited to 'nix.spec.in')
-rw-r--r--nix.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/nix.spec.in b/nix.spec.in
index 401a2dc8a1f9..2447f13a8f84 100644
--- a/nix.spec.in
+++ b/nix.spec.in
@@ -1,3 +1,5 @@
+%undefine _hardened_build
+
 %global nixbld_user "nix-builder-"
 %global nixbld_group "nixbld"