summaryrefslogtreecommitdiff
path: root/zip/patches/04-do-not-set-unwanted-cflags
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2013-03-04 14:23:19 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2013-03-04 14:23:19 +0400
commit59ad6e21eac75fcdd3aeb84b430e32a3366c2fec (patch)
tree4b042e46f76e90fc14ed63b6a2ad82c6804b540a /zip/patches/04-do-not-set-unwanted-cflags
parentceaa1852eeab8151817dc3986136be98d586fa08 (diff)
downloadcibs-pkgs-59ad6e21eac75fcdd3aeb84b430e32a3366c2fec.tar.gz
zip 3.0 with Debian patches
Diffstat (limited to 'zip/patches/04-do-not-set-unwanted-cflags')
-rw-r--r--zip/patches/04-do-not-set-unwanted-cflags15
1 files changed, 15 insertions, 0 deletions
diff --git a/zip/patches/04-do-not-set-unwanted-cflags b/zip/patches/04-do-not-set-unwanted-cflags
new file mode 100644
index 0000000..35c4238
--- /dev/null
+++ b/zip/patches/04-do-not-set-unwanted-cflags
@@ -0,0 +1,15 @@
+From: Santiago Vila <sanvila@debian.org>
+Subject: Do not set unwanted CFLAGS, as it breaks DEB_BUILD_OPTIONS
+X-Debian-version: 2.32-1
+
+--- a/unix/configure
++++ b/unix/configure
+@@ -98,7 +98,7 @@
+ _EOF_
+ $CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null
+ if test $? -eq 0; then
+- CFLAGS_OPT='-O3'
++ # CFLAGS_OPT='-O3'
+ echo " GNU C ($CFLAGS_OPT)"
+ # Special Mac OS X shared library "ld" option?
+ if test ` uname -s 2> /dev/null ` = 'Darwin'; then