summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-05-14 12:56:08 +0200
committerJim Meyering <meyering@redhat.com>2011-05-14 12:56:08 +0200
commit352a2820942a17273bc230a0658f184f4a8cddb7 (patch)
treed7acf2523b84068460edac4aeba1d76336fc482e /cfg.mk
parent6f56d93ebed6fc549081ced140e1f463d5f45af1 (diff)
downloadgzip-352a2820942a17273bc230a0658f184f4a8cddb7.tar.gz
build: avoid link failure on at least i386-FreeBSD7.2
* deflate.c (match_start, prev_length, max_chain_length): Do not declare these as static. On some types of system/arch, they are used via match_.s. * cfg.mk (_gl_TS_unmarked_extern_vars): Mark those three variables as known-extern: match_start, prev_length, max_chain_length.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index 7433015..39713d1 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -80,4 +80,5 @@ export _gl_TS_dir = .
# Tell the tight_scope rule that these variables are deliberately "extern".
export _gl_TS_unmarked_extern_vars = \
- block_start d_buf inbuf outbuf prev read_buf strstart window
+ block_start d_buf inbuf outbuf prev read_buf strstart window \
+ match_start prev_length max_chain_length