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
|
all: latest_vc latest_tcc
|
||||||
ifdef WIN32
|
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
|
$(V) -o v2.exe $(VFLAGS) cmd/v
|
||||||
move /y v2.exe v.exe
|
move /y v2.exe v.exe
|
||||||
else
|
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
|
$(V) -o v2.exe $(VFLAGS) cmd/v
|
||||||
mv -f v2.exe v
|
mv -f v2.exe v
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue