009-hardening-build-fix-2.patch 372 B

12345678910111213141516
  1. From: Santiago Vila <sanvila@debian.org>
  2. Subject: unix/configure: Take linking flags from the environment
  3. Bug-Debian: http://bugs.debian.org/673476
  4. X-Debian-version: 3.0-5
  5. --- a/unix/configure
  6. +++ b/unix/configure
  7. @@ -18,7 +18,7 @@ trap "rm -f conftest* core a.out; exit 1
  8. CC=${1-cc}
  9. CFLAGS=${2-"-I. -DUNIX"}
  10. -LFLAGS1=''
  11. +LFLAGS1=${LDFLAGS}
  12. LFLAGS2=''
  13. LN="ln -s"