diff --git a/diff-pdf.changes b/diff-pdf.changes index 14c5258..b7a64db 100644 --- a/diff-pdf.changes +++ b/diff-pdf.changes @@ -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 diff --git a/diff-pdf.spec b/diff-pdf.spec index bef41b5..1fe97ac 100644 --- a/diff-pdf.spec +++ b/diff-pdf.spec @@ -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