spot pushed to nut (master). "disable hardened build"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue Apr 7 19:46:59 UTC 2015
>From 6810be8ca82b0f694caff8f922494c2a2ada03d8 Mon Sep 17 00:00:00 2001
From: Tom Callaway <spot at fedoraproject.org>
Date: Tue, 7 Apr 2015 15:46:15 -0400
Subject: disable hardened build
diff --git a/nut.spec b/nut.spec
index 2aa4a18..5f6942e 100644
--- a/nut.spec
+++ b/nut.spec
@@ -1,3 +1,6 @@
+# Does not build with hardened build enabled due to PIC
+%global _hardened_build 0
+
#TODO: split nut-client so it does not require python
%global nut_uid 57
%global nut_gid 57
@@ -144,8 +147,6 @@ find . -mtime -1 -print0 | xargs -0 touch --reference %{SOURCE0}
%build
autoreconf -i
-export CFLAGS="%{optflags} -fPIC"
-export CCFLAGS="%{optflags} -fPIC"
%configure \
--with-all \
--with-libltdl \
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/nut.git/commit/?h=master&id=6810be8ca82b0f694caff8f922494c2a2ada03d8
More information about the scm-commits
mailing list