File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ ifdef LEGACY
110110 rm -rf $(TMPLEGACY)
111111 $(eval override LDFLAGS+=-L$(realpath $(LEGACYLIBS))/lib -lMacportsLegacySupport)
112112endif
113- $(CC) $(CFLAGS) -std=gnu99 -w -o v1.exe $(VC)/$(VCFILE) -lm -lpthread $(LDFLAGS)
113+ $(CC) $(CFLAGS) -std=gnu99 -w -o v1.exe $(VC)/$(VCFILE) -lm -lpthread $(LDFLAGS) || echo 'Compilation of v.c failed. See https://github.com/vlang/v/wiki/Installing-a-C-compiler-on-Linux-and-macOS' && false
114114 ./v1.exe -no-parallel -o v2.exe $(VFLAGS) cmd/v
115115 ./v2.exe -nocache -o $(VEXE) $(VFLAGS) cmd/v
116116 rm -rf v1.exe v2.exe
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ download_vc:
1111 if [ -f vc/v.c ] ; then git -C vc/ pull; else git clone --filter=blob:none https://github.com/vlang/vc vc/; fi
1212
1313v :
14- $(CC ) $(CFLAGS ) -std=gnu11 -w -o v1 vc/v.c -lm -lexecinfo -lpthread $(LDFLAGS )
14+ $(CC ) $(CFLAGS ) -std=gnu11 -w -o v1 vc/v.c -lm -lexecinfo -lpthread $(LDFLAGS ) || echo ' See https://github.com/vlang/v/wiki/Installing-a-C-compiler-on-Linux-and-macOS ' && false
1515 ./v1 -no-parallel -o v2 $(VFLAGS ) cmd/v
1616 ./v2 -o v $(VFLAGS ) cmd/v
1717 rm -rf v1 v2
You can’t perform that action at this time.
0 commit comments