From be4ae53d10e1a8615d2c35569d759f7647eac45e Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 15 May 2011 00:06:26 -0700 Subject: [PATCH] Add quotes around compiler and linker flags Protect them from the shell when passing them to configure. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- 2.39.5