[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gzip fails to build from sources on Debian GNU/Linux
From: |
Paul Eggert |
Subject: |
Re: gzip fails to build from sources on Debian GNU/Linux |
Date: |
Mon, 20 Jun 2011 16:21:21 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10 |
Thanks for the bug report. Does this fix your problem?
* deflate.c: Export nice_match to assembler.
(static_unless_ASMV): New macro.
(nice_match): Use it.
diff --git a/deflate.c b/deflate.c
index b1fafde..6a75e73 100644
--- a/deflate.c
+++ b/deflate.c
@@ -226,10 +226,17 @@ typedef struct config {
ush max_chain;
} config;
+#ifdef ASMV
+# define static_unless_ASMV
+#else
+# define static_unless_ASMV static
+#endif
+
#ifdef FULL_SEARCH
# define nice_match MAX_MATCH
#else
- static int nice_match; /* Stop searching when current match exceeds this */
+ /* Stop searching when current match exceeds this */
+ static_unless_ASMV int nice_match;
#endif
local config configuration_table[10] = {