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/net-ftp/atftp/files/atftp-0.7.2-CFLAGS.patch

33 lines
611 B

--- a/configure.ac
+++ b/configure.ac
@@ -69,29 +69,6 @@
dnl Check for AIX
AC_AIX
-CFLAGS="$CFLAGS -g -Wall -D_REENTRANT"
-
-if test x$debug = xtrue; then
- CFLAGS="$CFLAGS -O0 -DDEBUG"
-else
- if test -n "$auto_cflags"; then
- if test -n "$GCC"; then
- CFLAGS="$CFLAGS -g -O2 -Wall -Wno-implicit"
- else
- case "$host_os" in
- *hpux*) CFLAGS="$CFLAGS +O3"
- ;;
- *ultrix* | *osf*) CFLAGS="$CFLAGS -O -Olimit 2000"
- ;;
- *) CFLAGS="$CFLAGS -O2"
- ;;
- esac
- fi
- else
- CFLAGS="$CFLAGS -O2"
- fi
-fi
-
AC_PROG_MAKE_SET
AC_PROG_INSTALL