r1870 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Mon Aug 20 10:58:24 CEST 2007
Author: phk
Date: 2007-08-20 10:58:24 +0200 (Mon, 20 Aug 2007)
New Revision: 1870
Modified:
trunk/varnish-cache/bin/varnishd/mgt_vcc.c
Log:
Isolate the C-compiler even more with env -i and -nostdinc
Modified: trunk/varnish-cache/bin/varnishd/mgt_vcc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_vcc.c 2007-08-20 08:57:42 UTC (rev 1869)
+++ trunk/varnish-cache/bin/varnishd/mgt_vcc.c 2007-08-20 08:58:24 UTC (rev 1870)
@@ -184,7 +184,7 @@
#ifdef __APPLE__
"exec cc -dynamiclib -Wl,-undefined,dynamic_lookup -o %s -x c - < %s 2>&1",
#else
- "exec cc -fpic -shared -Wl,-x -o %s -x c - < %s 2>&1",
+ "env -i cc -nostdinc -fpic -shared -Wl,-x -o %s -x c - < %s 2>&1",
#endif
sf, of, sf);
xxxassert(len < sizeof buf);
More information about the varnish-commit
mailing list