File: 04-do-not-set-unwanted-cflags.patch

package info (click to toggle)
zip 3.0-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,588 kB
  • sloc: ansic: 50,445; asm: 3,907; makefile: 858; sh: 42
file content (15 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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