- Respect cflags, disable werror

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libpfm?expand=0&rev=18
This commit is contained in:
Tomáš Chvátal 2016-06-17 08:08:26 +00:00 committed by Git OBS Bridge
parent fa62b8c081
commit eec852f115
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Fri Jun 17 08:00:28 UTC 2016 - tchvatal@suse.com
* Intel Broadwell-DE
* Major update on Intel event tables
* bug fixes and many other improvements
- Respect cflags, disable werror
-------------------------------------------------------------------
Tue Jan 19 18:17:58 UTC 2016 - tonyj@suse.com

View File

@ -75,8 +75,13 @@ This package provides python bindings for the libpfm4 package and the perf_event
%prep
%setup -q
# disable werror
sed -i \
-e 's:-Werror::g' \
config.mk
%build
export CFLAGS="%{optflags}"
%global python_config CONFIG_PFMLIB_NOPYTHON=n
make %{?_smp_mflags} %{python_config}