SHA256
1
0
forked from pool/diff-pdf

Accepting request 403346 from Publishing

- Fix building with gcc6 (boo#985353)
- Use safer ldflags

OBS-URL: https://build.opensuse.org/request/show/403346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diff-pdf?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2016-06-19 10:53:10 +00:00 committed by Git OBS Bridge
commit a7b28ba137
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 18 10:27:21 UTC 2016 - mpluskal@suse.com
- Fix building with gcc6 (boo#985353)
- Use safer ldflags
-------------------------------------------------------------------
Sun May 29 07:33:13 UTC 2016 - mpluskal@suse.com

View File

@ -43,6 +43,8 @@ diff-pdf is a simple tool for comparing two PDF files.
%setup -q
%build
export CXXFLAGS="%{optflags} -fpermissive"
export LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now'
./bootstrap
%configure
make %{?_smp_mflags} V=1