From: tfheen Date: Fri, 26 Sep 2008 11:59:07 +0000 (+0000) Subject: Always add CFLAGS to VCC_CC X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e51738c5125f497d897428a0180ca70591cba40b;p=varnish Always add CFLAGS to VCC_CC Make sure we include any CFLAGS passed to configure in VCC_CC. Fixes #333. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3227 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/configure.ac b/varnish-cache/configure.ac index f0cfdeae..1ced6c85 100644 --- a/varnish-cache/configure.ac +++ b/varnish-cache/configure.ac @@ -331,10 +331,10 @@ case $host in VCC_CC="cc -Kpic ${CFLAGS} -G -o %o %s" ;; *-*-darwin*) - VCC_CC="exec cc -dynamiclib -Wl,-undefined,dynamic_lookup -o %o %s" + VCC_CC="exec cc -dynamiclib -Wl,-undefined,dynamic_lookup ${CFLAGS} -o %o %s" ;; *) - VCC_CC="exec cc -fpic -shared -Wl,-x -o %o %s" + VCC_CC="exec cc -fpic -shared -Wl,-x ${CFLAGS} -o %o %s" ;; esac