*gcc: fix whoopsie

This commit is contained in:
hippoz 2021-07-14 16:51:39 +03:00
parent 6bcf71310c
commit e1d9880bd9
No known key found for this signature in database
GPG key ID: 7C52899193467641

View file

@ -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