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
110
110
rm -rf $(TMPLEGACY)
111
111
$(eval override LDFLAGS+=-L$(realpath $(LEGACYLIBS))/lib -lMacportsLegacySupport)
112
112
endif
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
114
114
./v1.exe -no-parallel -o v2.exe $(VFLAGS) cmd/v
115
115
./v2.exe -nocache -o $(VEXE) $(VFLAGS) cmd/v
116
116
rm -rf v1.exe v2.exe
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ download_vc:
11
11
if [ -f vc/v.c ] ; then git -C vc/ pull; else git clone --filter=blob:none https://github.com/vlang/vc vc/; fi
12
12
13
13
v :
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
15
15
./v1 -no-parallel -o v2 $(VFLAGS ) cmd/v
16
16
./v2 -o v $(VFLAGS ) cmd/v
17
17
rm -rf v1 v2
You can’t perform that action at this time.
0 commit comments