You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/tif22pnm/files/tif22pnm-0.14-gentoo.patch

45 lines
982 B

--- configure.in
+++ configure.in
@@ -21,7 +21,6 @@
dnl Checks for programs.
AC_PROG_CC
AC_LANG_C
-CFLAGS=" "
dnl ^^^ set it to non-empty, so AC_PROG_CXX won't include `-g'
dnl AC_PROG_CXX
dnl AC_PTS_PROG_CFLAGS(fs, -fsigned-char)
--- do.sh
+++ do.sh
@@ -35,8 +35,8 @@
if [ x"$CMD" != x ]; then echo "Executing: $CMD"; fi
if [ "$CMD" = fast ]; then
- L_CC="$CC -s -O3 -DNDEBUG"
- L_LD="$LD -s"
+ L_CC="$CC -DNDEBUG"
+ L_LD="$LD"
elif [ "$CMD" = debug ]; then
L_CC="$CC $GFLAG"
L_LD="$LD"
@@ -47,14 +47,14 @@
L_CC="checkergcc $GFLAG"
L_LD="checkergcc"
elif [ "$CMD" = small ]; then
- L_CC="$CC -Os -DNDEBUG"
- L_LD="$LD -s"
+ L_CC="$CC -DNDEBUG"
+ L_LD="$LD"
elif [ "$CMD" = final ]; then
- L_CC="$CC -O2 -DNDEBUG"
- L_LD="$LD -s"
+ L_CC="$CC -DNDEBUG"
+ L_LD="$LD"
elif [ "$CMD" = asserted ]; then
- L_CC="$CC -O2"
- L_LD="$LD -s"
+ L_CC="$CC"
+ L_LD="$LD"
elif [ "$CMD" = clean ]; then
rm -f *.o core DEADJOE tif22pnm png22pnm
exit