summaryrefslogtreecommitdiff
path: root/extra/gcc-uClibc/gcc-uClibc.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-27 08:53:50 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-27 08:53:50 +0000
commit85af153d3b11849d1fd4df966046d8cea0b30187 (patch)
treecd44dc861f053728a5fd272236049f7992d4a3be /extra/gcc-uClibc/gcc-uClibc.c
parent1b9daa113dde2db5b2a3bb29cabf1168fa2297dc (diff)
Lose the -nostdlib, which causes problems with older binutils, and
add some fflush calls, since it seems streams are not flushed before an exec
Diffstat (limited to 'extra/gcc-uClibc/gcc-uClibc.c')
-rw-r--r--extra/gcc-uClibc/gcc-uClibc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/gcc-uClibc/gcc-uClibc.c b/extra/gcc-uClibc/gcc-uClibc.c
index 48340472b..9c888055e 100644
--- a/extra/gcc-uClibc/gcc-uClibc.c
+++ b/extra/gcc-uClibc/gcc-uClibc.c
@@ -380,6 +380,7 @@ int main(int argc, char **argv)
for ( j = 0 ; gcc_argv[j] ; j++ ) {
printf("arg[%2i] = %s\n", j, gcc_argv[j]);
}
+ fflush(stdout);
}
//no need to free memory from xstrcat because we never return...
return execvp(GCC_BIN, gcc_argv);