From: Andre Noll Date: Sun, 25 Apr 2021 22:48:03 +0000 (+0200) Subject: build: Remove duplicate -g in cc command. X-Git-Tag: v1.0.4~5^2~4 X-Git-Url: http://git.tuebingen.mpg.de/?p=lopsub.git;a=commitdiff_plain;h=d6f28609ba3b250079ac0c55422dafdabb6c0c71;ds=sidebyside build: Remove duplicate -g in cc command. Specifying -g more than once has no effect. --- diff --git a/Makefile b/Makefile index 230a966..200a7c0 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,7 @@ $(lsg_objs) $(liblopsub_objs) $(lopsubex_objs): %.o: %.c lopsubgen.o config_file.o: $(CC) -g -c -fPIC -o $@ ${@:.o=.c} lsg1.o: lsg.c lsg.h - $(CC) -g -DSTAGE1 -Wall -g -c $< -o $@ + $(CC) -g -DSTAGE1 -Wall -c $< -o $@ %.o: %.c $(CC) -Wall -I. -g -c -fPIC -o $@ $<