# HG changeset patch # User Rob Landley # Date 1249801591 18000 # Node ID d20b91530061af6265b0c31d003ca8c6b970d6ac # Parent 2ba6cce8c29416381a77a422e3cdacb496808fb1 Be a little more consistent about space vs tab indentation. diff -r 2ba6cce8c294 -r d20b91530061 sources/toys/ccwrap.c --- a/sources/toys/ccwrap.c Sun Aug 09 01:06:26 2009 -0500 +++ b/sources/toys/ccwrap.c Sun Aug 09 02:06:31 2009 -0500 @@ -2,7 +2,7 @@ /* * Copyright (C) 2000 Manuel Novoa III * Copyright (C) 2002-2003 Erik Andersen - * Copyright (C) 2006-2008 Rob Landley + * Copyright (C) 2006-2009 Rob Landley * * Wrapper to use uClibc with gcc, and make gcc relocatable. */ @@ -154,13 +154,13 @@ // Check end of name, since there could be a cross-prefix on the thing toolprefix = strrchr(argv[0], '/'); if (!toolprefix) toolprefix = argv[0]; - else toolprefix++; + else toolprefix++; prefixlen = strlen(toolprefix); - if (!strcmp(toolprefix+prefixlen-3, "gcc")) prefixlen -= 3; - else if (!strcmp(toolprefix+prefixlen-2, "cc")) prefixlen -= 2; + if (!strcmp(toolprefix+prefixlen-3, "gcc")) prefixlen -= 3; + else if (!strcmp(toolprefix+prefixlen-2, "cc")) prefixlen -= 2; else if (!strcmp(toolprefix+prefixlen-2, "ld")) { - prefixlen -= 2; + prefixlen -= 2; // TODO: put support for wrapping the linker here. @@ -401,7 +401,7 @@ if (incstr) gcc_argv[argcnt++] = incstr; } - gcc_argv[argcnt++] = "-U__nptl__"; + gcc_argv[argcnt++] = "-U__nptl__"; if (linking && source_count) {