From e51738c5125f497d897428a0180ca70591cba40b Mon Sep 17 00:00:00 2001 From: tfheen Date: Fri, 26 Sep 2008 11:59:07 +0000 Subject: [PATCH] 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 --- varnish-cache/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5