From: Russ Allbery Date: Sun, 15 May 2011 07:06:26 +0000 (-0700) Subject: Add quotes around compiler and linker flags X-Git-Tag: debian/1.6.0.pre5-2~2 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=be4ae53d10e1a8615d2c35569d759f7647eac45e;p=packages%2Fo%2Fopenafs.git Add quotes around compiler and linker flags Protect them from the shell when passing them to configure. --- diff --git a/debian/rules b/debian/rules index cd4a71bce..73f62006c 100755 --- a/debian/rules +++ b/debian/rules @@ -96,7 +96,7 @@ override_dh_auto_configure: sh regen.sh afslogsdir=/var/log/openafs afslocaldir=/var/lib/openafs/local \ sh configure \ - CFLAGS=$(CFLAGS) CPPFLAGS=$(CPPFLAGS) LDFLAGS=$(LDFLAGS) \ + CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' LDFLAGS='$(LDFLAGS)' \ --with-afs-sysname=$(SYS_NAME) --disable-kernel-module \ --prefix=/usr --mandir=\$${prefix}/share/man \ --sysconfdir=/etc --libexecdir=/usr/lib --with-krb5 \