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:
parent
8cb88d5c9a
commit
6180b843a1
4
Makefile
4
Makefile
@ -45,10 +45,10 @@ endif
|
|||||||
|
|
||||||
all: latest_vc latest_tcc
|
all: latest_vc latest_tcc
|
||||||
ifdef WIN32
|
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
|
./v.exe self
|
||||||
else
|
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
|
ifdef ANDROID
|
||||||
chmod 755 v
|
chmod 755 v
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user