tools: add zip utility
[openwrt/staging/stintel.git] / tools / zip / patches / 004-do-not-set-unwanted-cflags.patch
1 From: Santiago Vila <sanvila@debian.org>
2 Subject: Do not set unwanted CFLAGS, as it breaks DEB_BUILD_OPTIONS
3 X-Debian-version: 2.32-1
4
5 --- a/unix/configure
6 +++ b/unix/configure
7 @@ -98,7 +98,7 @@ int main()
8 _EOF_
9 $CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null
10 if test $? -eq 0; then
11 - CFLAGS_OPT='-O3'
12 + # CFLAGS_OPT='-O3'
13 echo " GNU C ($CFLAGS_OPT)"
14 # Special Mac OS X shared library "ld" option?
15 if test ` uname -s 2> /dev/null ` = 'Darwin'; then