From b7c873498ceec50a85f2a19b9055b1a6fdc2f686 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 5 Jul 2021 16:43:03 +0300 Subject: [PATCH] Makefile: remove -g from the `cc v.c -> v` bootstrapping step --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 06482a2cc2..43baa13449 100644 --- a/Makefile +++ b/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