SHA256
1
0
forked from pool/audacity

Accepting request 533008 from home:olh:branches:multimedia:apps

- Check for gcc-6 at buildtime to fix Substitute: gcc5

OBS-URL: https://build.opensuse.org/request/show/533008
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=106
This commit is contained in:
Alexei Sorokin 2017-10-10 13:26:12 +00:00 committed by Git OBS Bridge
parent c955ce1d99
commit 284d12660b
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 10 13:18:04 UTC 2017 - olaf@aepfle.de
- Check for gcc-6 at buildtime to fix Substitute: gcc5
-------------------------------------------------------------------
Fri Aug 25 15:16:21 UTC 2017 - davejplater@gmail.com

View File

@ -115,6 +115,8 @@ rm -rf lib-src/lame
%build
test -x "$(type -p gcc-5)" && export CC=gcc-5
test -x "$(type -p g++-5)" && export CXX=g++-5
test -x "$(type -p gcc-6)" && export CC=gcc-6
test -x "$(type -p g++-6)" && export CXX=g++-6
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS -std=gnu++11"
aclocal -I m4