comparison sources/toys/ccwrap.c @ 1519:83de80c10db8

Upgrade to uClibc 0.9.33.1 (and use NPTL), and busybox 1.19.4.
author Rob Landley <rob@landley.net>
date Thu, 19 Apr 2012 00:09:11 -0500
parents 707beb993e13
children
comparison
equal deleted inserted replaced
1518:b8dbb8d7d6cc 1519:83de80c10db8
171 else if (!strcmp(toolprefix+prefixlen-2, "cc")) prefixlen -= 2; 171 else if (!strcmp(toolprefix+prefixlen-2, "cc")) prefixlen -= 2;
172 else if (!strcmp(toolprefix+prefixlen-2, "ld")) { 172 else if (!strcmp(toolprefix+prefixlen-2, "ld")) {
173 prefixlen -= 2; 173 prefixlen -= 2;
174 174
175 // TODO: put support for wrapping the linker here. 175 // TODO: put support for wrapping the linker here.
176 } else if (!strcmp(toolprefix+prefixlen-3, "cpp")) {
177 prefixlen -=3;
178 linking = 0;
176 179
177 // Wrapping the c++ compiler? 180 // Wrapping the c++ compiler?
178 } else if (!strcmp(toolprefix+prefixlen-2, "++")) { 181 } else if (!strcmp(toolprefix+prefixlen-2, "++")) {
179 int len = strlen(cc); 182 int len = strlen(cc);
180 cpp = alloca(len+1); 183 cpp = alloca(len+1);