forked from pool/libpfm
- 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:
parent
fa62b8c081
commit
eec852f115
@ -7,6 +7,7 @@ Fri Jun 17 08:00:28 UTC 2016 - tchvatal@suse.com
|
|||||||
* Intel Broadwell-DE
|
* Intel Broadwell-DE
|
||||||
* Major update on Intel event tables
|
* Major update on Intel event tables
|
||||||
* bug fixes and many other improvements
|
* bug fixes and many other improvements
|
||||||
|
- Respect cflags, disable werror
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 19 18:17:58 UTC 2016 - tonyj@suse.com
|
Tue Jan 19 18:17:58 UTC 2016 - tonyj@suse.com
|
||||||
|
@ -75,8 +75,13 @@ This package provides python bindings for the libpfm4 package and the perf_event
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
# disable werror
|
||||||
|
sed -i \
|
||||||
|
-e 's:-Werror::g' \
|
||||||
|
config.mk
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
%global python_config CONFIG_PFMLIB_NOPYTHON=n
|
%global python_config CONFIG_PFMLIB_NOPYTHON=n
|
||||||
make %{?_smp_mflags} %{python_config}
|
make %{?_smp_mflags} %{python_config}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user