]> git.pld-linux.org Git - packages/dante.git/blobdiff - dante-build.patch
- up to 1.4.1
[packages/dante.git] / dante-build.patch
diff --git a/dante-build.patch b/dante-build.patch
new file mode 100644 (file)
index 0000000..41db72b
--- /dev/null
@@ -0,0 +1,32 @@
+--- dante-1.4.1/compiler.m4~   2014-08-02 22:05:19.000000000 +0200
++++ dante-1.4.1/compiler.m4    2014-10-24 22:16:03.014015699 +0200
+@@ -368,29 +368,6 @@
+       esac
+     fi
+     CPPFLAGS="$CPPFLAGS${CPPFLAGS:+ }-DDEBUG=1"
+-else
+-    #autoconf_compflags is set to "-g -O2" with GCC
+-    #override CFLAGS when running configure to avoid this
+-    CPPFLAGS="$CPPFLAGS${CPPFLAGS:+ }-DDEBUG=0"
+-    CFLAGS="$CFLAGS${CFLAGS:+ }$autoconf_compflags"
+-
+-    case $COMPTYPE in
+-      gcc)
+-          if test x"$aixldbug" != x; then
+-              #disable debug info
+-              if echo $CFLAGS | grep -- "-g" >/dev/null; then
+-                  CFLAGS="`echo $CFLAGS | sed -e 's/-g//g'`"
+-              fi
+-              CFLAGS="$CFLAGS${CFLAGS:+ }-g0"
+-          else
+-              #use -ggdb also when not debugging
+-              if echo $CFLAGS | grep -- "-g" >/dev/null; then
+-                  CFLAGS="`echo $CFLAGS | sed -e 's/-g//g'`"
+-              fi
+-              CFLAGS="$CFLAGS${CFLAGS:+ }-ggdb"
+-          fi
+-          ;;
+-    esac
+ fi
+ #check whether to compilation warnings
This page took 0.153698 seconds and 4 git commands to generate.