diff options
author | 2007-09-19 21:42:06 +0000 | |
---|---|---|
committer | 2007-09-19 21:42:06 +0000 | |
commit | c6959b2d4551aa26ab36d9e04f61ccab266e9a3f (patch) | |
tree | a50ddddaa2cb8066d69d0408e1d0b51af90b468c | |
parent | Add a few "flags any" and "no state" to have the rulesets (diff) | |
download | wireguard-openbsd-c6959b2d4551aa26ab36d9e04f61ccab266e9a3f.tar.xz wireguard-openbsd-c6959b2d4551aa26ab36d9e04f61ccab266e9a3f.zip |
the missing piece of my commit earlier, cc now calls ccom_<arch>
caught by otto@
-rw-r--r-- | usr.bin/pcc/cc/cc/cc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/pcc/cc/cc/cc.c b/usr.bin/pcc/cc/cc/cc.c index 540b845966f..ba5d901ace2 100644 --- a/usr.bin/pcc/cc/cc/cc.c +++ b/usr.bin/pcc/cc/cc/cc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cc.c,v 1.9 2007/09/19 16:08:33 todd Exp $ */ +/* $OpenBSD: cc.c,v 1.10 2007/09/19 21:42:06 todd Exp $ */ /* * Copyright(C) Caldera International Inc. 2001-2002. All rights reserved. * @@ -121,7 +121,7 @@ int nostdinc, nostdlib; int onlyas; int pthreads; -char *pass0 = LIBEXECDIR "/ccom"; +char *pass0; char *passp = LIBEXECDIR "/cpp"; char *Bflag; char *cppadd[] = CPPADD; @@ -365,6 +365,7 @@ main(int argc, char *argv[]) signal(SIGINT, idexit); if (signal(SIGTERM, SIG_IGN) != SIG_IGN) /* terminate */ signal(SIGTERM, idexit); + asprintf(&pass0, "%s%s%s", LIBEXECDIR, "/ccom_", mach); pvt = pv; for (i=0; i<nc; i++) { /* |