pass -pthread

This commit is contained in:
Tom Callaway 2013-06-25 11:58:31 -04:00
parent cae9c1599b
commit 349cb0b606
1 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Name: gperftools
Version: 2.0
Release: 11%{?dist}.1
Release: 11%{?dist}.2
License: BSD
Group: Development/Tools
Summary: Very fast malloc and performance analysis tools
@ -72,7 +72,7 @@ sed -i 's|2.68|2.63|g' configure.ac
autoreconf -i
%build
CXXFLAGS=`echo $RPM_OPT_FLAGS -fno-strict-aliasing -Wno-unused-local-typedefs -DTCMALLOC_LARGE_PAGES| sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g'`
CXXFLAGS=`echo $RPM_OPT_FLAGS -fno-strict-aliasing -Wno-unused-local-typedefs -DTCMALLOC_LARGE_PAGES -pthread| sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g'`
%configure --disable-static --enable-frame-pointers
# Bad rpath!
@ -118,6 +118,9 @@ rm -rf %{buildroot}%{_docdir}/%{name}-%{version}/INSTALL
%{_libdir}/*.so.*
%changelog
* Tue Jun 25 2013 Tom Callaway <spot@fedoraproject.org> - 2.0-11.2
- pass -pthread
* Tue Jun 4 2013 Tom Callaway <spot@fedoraproject.org> - 2.0-11.1
- pass -fno-strict-aliasing
- create "gperftools" metapackage.