summaryrefslogtreecommitdiff
path: root/net-ftp/atftp/files/atftp-0.7.2-CFLAGS.patch
blob: 749f8e8e6d38df543df60775007a1e96d1571a4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- 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