]> err.no Git - varnish/commitdiff
Always add CFLAGS to VCC_CC
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 26 Sep 2008 11:59:07 +0000 (11:59 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 26 Sep 2008 11:59:07 +0000 (11:59 +0000)
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

index f0cfdeae467eef7a218815986795fc308fd7a7e7..1ced6c856789473a9d906002e8e283746a25ef7c 100644 (file)
@@ -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