]> git.pld-linux.org Git - packages/ntop.git/commitdiff
- don't force -g, it slows down build DEVEL
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 12 Dec 2003 12:43:02 +0000 (12:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ntop-opt.patch -> 1.1

ntop-opt.patch [new file with mode: 0644]

diff --git a/ntop-opt.patch b/ntop-opt.patch
new file mode 100644 (file)
index 0000000..e1436ef
--- /dev/null
@@ -0,0 +1,31 @@
+--- ntop-2.2.95/configure.in.orig      Fri Dec 12 12:07:15 2003
++++ ntop-2.2.95/configure.in   Fri Dec 12 12:11:00 2003
+@@ -1289,28 +1289,6 @@
+ CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
+ LDFLAGS="${LDFLAGS} -L/usr/local/lib"
+-
+-
+-echo
+-echo "Test the compiler and setup CFLAGS..."
+-echo
+-case "$CFLAGS" in
+-    *-g* )
+-        ;;
+-    * )
+-        CFLAGS="$CFLAGS -g"
+-        AC_MSG_CHECKING([if compiler accepts -g (debugging information)])
+-        oCFLAGS=$CFLAGS
+-        CFLAGS="-g $CFLAGS"
+-        AC_TRY_COMPILE( ,
+-                       return 0 ,
+-                       AC_MSG_RESULT(yes),
+-                       CFLAGS="${oCFLAGS}"
+-                       AC_MSG_RESULT(no)
+-                      )
+-        ;;
+-esac
+-
+ AC_MSG_CHECKING([if compiler accepts -W (warning flags)])
+ oCFLAGS=$CFLAGS
+ CFLAGS="$CFLAGS -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs"
This page took 0.072353 seconds and 4 git commands to generate.