004-do-not-set-unwanted-cflags.patch 508 B

123456789101112131415
  1. From: Santiago Vila <sanvila@debian.org>
  2. Subject: Do not set unwanted CFLAGS, as it breaks DEB_BUILD_OPTIONS
  3. X-Debian-version: 2.32-1
  4. --- a/unix/configure
  5. +++ b/unix/configure
  6. @@ -98,7 +98,7 @@ int main()
  7. _EOF_
  8. $CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null
  9. if test $? -eq 0; then
  10. - CFLAGS_OPT='-O3'
  11. + # CFLAGS_OPT='-O3'
  12. echo " GNU C ($CFLAGS_OPT)"
  13. # Special Mac OS X shared library "ld" option?
  14. if test ` uname -s 2> /dev/null ` = 'Darwin'; then