[libdwarf] Disable hardened builds for now
Tom Hughes
tomh at fedoraproject.org
Thu Mar 12 18:18:46 UTC 2015
commit 04ccf695b663c01172ff30db5d9d4f1b76f8ab3c
Author: Tom Hughes <tom at compton.nu>
Date: Thu Mar 12 18:15:24 2015 +0000
Disable hardened builds for now
libdwarf.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/libdwarf.spec b/libdwarf.spec
index 6ea14a0..b7964be 100644
--- a/libdwarf.spec
+++ b/libdwarf.spec
@@ -2,9 +2,11 @@
%define soname libdwarf.so.%{soversion}
%define sofullname libdwarf.so.%{soversion}.%{version}.0
+%undefine _hardened_build
+
Name: libdwarf
Version: 20150310
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Library to access the DWARF Debugging file format
Group: Development/Libraries
@@ -53,7 +55,7 @@ to access DWARF debug information.
%patch0 -p1 -b .shlib
%build
-CFLAGS="$RPM_OPT_FLAGS" %configure --enable-shared
+%configure --enable-shared
LD_LIBRARY_PATH="../libdwarf" make %{?_smp_mflags} SONAME="%{soname}"
%install
@@ -87,6 +89,10 @@ install -pDm 0755 dwarfdump/dwarfdump %{buildroot}%{_bindir}/dwarfdump
%{_bindir}/dwarfdump
%changelog
+* Thu Mar 12 2015 Tom Hughes <tom at compton.nu> - 20150310-2
+- Disable hardened builds for now
+- Drop explicit CFLAGS as %%configure sets them anyway
+
* Thu Mar 12 2015 Tom Hughes <tom at compton.nu> - 20150310-1
- Update to 20150310 upstream release
More information about the scm-commits
mailing list