Commit 7dcf6950 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Always add CFLAGS to VCC_CC

Make sure we include any CFLAGS passed to configure in VCC_CC.
Fixes #333.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3227 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c754e5fe
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment