]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Add quotes around compiler and linker flags
authorRuss Allbery <rra@debian.org>
Sun, 15 May 2011 07:06:26 +0000 (00:06 -0700)
committerRuss Allbery <rra@debian.org>
Sun, 15 May 2011 07:12:45 +0000 (00:12 -0700)
Protect them from the shell when passing them to configure.

debian/rules

index cd4a71bce2bc90f7b8cbf973c311dbbf623d7120..73f62006c843cd944c49c19b315832725f565060 100755 (executable)
@@ -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 \