diff --git a/gcc/build b/gcc/build index 39c7dea..d82aa23 100755 --- a/gcc/build +++ b/gcc/build @@ -43,4 +43,7 @@ find "$1" -name libgjsmalsa.a -exec rm -f {} + find "$1" -name libgij.a -exec rm -f {} + ln -sf gcc "$1/usr/bin/cc" -cp -f ../c99 "$1/usr/bin" + +echo "#!/bin/sh" > "$1"/usr/bin/c99 +echo "exec cc -std=c99 "$@"" >> "$1"/usr/bin/c99 +chmod +x "$1"/usr/bin/c99