tif22pnm-0.14-gentoo.patch 982 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --- configure.in
  2. +++ configure.in
  3. @@ -21,7 +21,6 @@
  4. dnl Checks for programs.
  5. AC_PROG_CC
  6. AC_LANG_C
  7. -CFLAGS=" "
  8. dnl ^^^ set it to non-empty, so AC_PROG_CXX won't include `-g'
  9. dnl AC_PROG_CXX
  10. dnl AC_PTS_PROG_CFLAGS(fs, -fsigned-char)
  11. --- do.sh
  12. +++ do.sh
  13. @@ -35,8 +35,8 @@
  14. if [ x"$CMD" != x ]; then echo "Executing: $CMD"; fi
  15. if [ "$CMD" = fast ]; then
  16. - L_CC="$CC -s -O3 -DNDEBUG"
  17. - L_LD="$LD -s"
  18. + L_CC="$CC -DNDEBUG"
  19. + L_LD="$LD"
  20. elif [ "$CMD" = debug ]; then
  21. L_CC="$CC $GFLAG"
  22. L_LD="$LD"
  23. @@ -47,14 +47,14 @@
  24. L_CC="checkergcc $GFLAG"
  25. L_LD="checkergcc"
  26. elif [ "$CMD" = small ]; then
  27. - L_CC="$CC -Os -DNDEBUG"
  28. - L_LD="$LD -s"
  29. + L_CC="$CC -DNDEBUG"
  30. + L_LD="$LD"
  31. elif [ "$CMD" = final ]; then
  32. - L_CC="$CC -O2 -DNDEBUG"
  33. - L_LD="$LD -s"
  34. + L_CC="$CC -DNDEBUG"
  35. + L_LD="$LD"
  36. elif [ "$CMD" = asserted ]; then
  37. - L_CC="$CC -O2"
  38. - L_LD="$LD -s"
  39. + L_CC="$CC"
  40. + L_LD="$LD"
  41. elif [ "$CMD" = clean ]; then
  42. rm -f *.o core DEADJOE tif22pnm png22pnm
  43. exit