1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

gnu11 option

This commit is contained in:
Alex Medvednikov 2019-06-24 14:17:34 +02:00 committed by GitHub
parent 1ba53a39cb
commit 1381b1e743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ make
# Or build without make:
wget https://vlang.io/v.c # Download the V compiler's source translated to C
cc -std=c11 -w -o vc v.c # Build it with Clang or GCC
cc -std=gnu11 -w -o vc v.c # Build it with Clang or GCC
./vc -o v . && rm vc # Use the resulting V binary to build V from V source, delete the old compiler
```