Makefile: remove -g from the `cc v.c -> v` bootstrapping step
parent
0f72bc9819
commit
b7c873498c
4
Makefile
4
Makefile
|
@ -84,11 +84,11 @@ endif
|
|||
|
||||
all: latest_vc latest_tcc
|
||||
ifdef WIN32
|
||||
$(CC) $(CFLAGS) -g -std=c99 -municode -w -o $(V) $(VC)/$(VCFILE) $(LDFLAGS)
|
||||
$(CC) $(CFLAGS) -std=c99 -municode -w -o $(V) $(VC)/$(VCFILE) $(LDFLAGS)
|
||||
$(V) -o v2.exe $(VFLAGS) cmd/v
|
||||
move /y v2.exe v.exe
|
||||
else
|
||||
$(CC) $(CFLAGS) -g -std=gnu99 -w -o $(V) $(VC)/$(VCFILE) -lm -lpthread $(LDFLAGS)
|
||||
$(CC) $(CFLAGS) -std=gnu99 -w -o $(V) $(VC)/$(VCFILE) -lm -lpthread $(LDFLAGS)
|
||||
$(V) -o v2.exe $(VFLAGS) cmd/v
|
||||
mv -f v2.exe v
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue