From b2851daffca7337076b622ad6cfb225ffb674469 Mon Sep 17 00:00:00 2001 From: Alex Medvednikov Date: Sun, 23 Jun 2019 10:21:16 +0200 Subject: [PATCH] readme: add `cc -std=c11` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 943ad482e4..d1feb5bda8 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ mkdir -p ~/code && cd ~/code # ~/code directory has to be used (it's a temporar git clone https://github.com/vlang/v cd v/compiler wget https://vlang.io/v.c # Download the V compiler's source translated to C -cc -w -o vc v.c # Build it with Clang or GCC +cc -std=c11 -w -o vc v.c # Build it with Clang or GCC ./vc -o v . # Use the resulting V binary to build V from V source ./v -o v . # Bootstrap the compiler to make sure it works ```