projects
/
lopsub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ec582
)
build: Remove duplicate -g in cc command.
author
Andre Noll
<maan@tuebingen.mpg.de>
Sun, 25 Apr 2021 22:48:03 +0000
(
00:48
+0200)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Mon, 26 Apr 2021 17:02:29 +0000
(19:02 +0200)
Specifying -g more than once has no effect.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 230a966b257de0eb761907426905ea97d30db64b..200a7c0d411b5e8cc90c354576d36759a9c63028 100644
(file)
--- 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 $@ $<