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
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