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

make: add -g flag to the default vc->c CC bootstrap step

This commit is contained in:
Delyan Angelov 2020-04-23 21:59:40 +03:00
parent 8cb88d5c9a
commit 6180b843a1

View File

@ -45,10 +45,10 @@ endif
all: latest_vc latest_tcc
ifdef WIN32
$(CC) $(CFLAGS) -std=c99 -municode -w -o v.exe $(TMPVC)/$(VCFILE) $(LDFLAGS)
$(CC) $(CFLAGS) -g -std=c99 -municode -w -o v.exe $(TMPVC)/$(VCFILE) $(LDFLAGS)
./v.exe self
else
$(CC) $(CFLAGS) -std=gnu11 -w -o v $(TMPVC)/$(VCFILE) $(LDFLAGS) -lm
$(CC) $(CFLAGS) -g -std=gnu11 -w -o v $(TMPVC)/$(VCFILE) $(LDFLAGS) -lm
ifdef ANDROID
chmod 755 v
endif