aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 3c52833..cfced13 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,6 @@ sources.mo = $(sources.po:.po=.mo)
existing = \
src/urubu/utf8 \
- src/urubu/ucd \
src/urubu/error \
src/urubu/compressor \
src/urubu/spec/grammar \
@@ -88,7 +87,6 @@ xtests = \
tests/unit/driver/parser/parser.go \
xmains = \
- src/urubu/cmd/ucdgen \
src/urubu/cmd/vartan \
src/urubu/cmd/vartan-go \
@@ -153,23 +151,23 @@ $(libs.a): src/$(NAME).go src/meta.go
$(existing.a):
- go tool compile -I src -o $@ -p `echo $* | sed 's,^src/,,'` $*.go
+ go tool compile $(GOCFLAGS) -I src -o $@ -p `echo $* | sed 's,^src/,,'` $*.go
$(xtests.a):
p="`echo $(*D) | sed 's,^tests/unit/,,'`"; \
- go tool compile -I src -o $@ -p $(*F) src/urubu/$$p.go $*.go
+ go tool compile $(GOCFLAGS) -I src -o $@ -p $(*F) src/urubu/$$p.go $*.go
$(xmains.a):
go tool compile -I src -o $@ -p main $*/*.go
$(xmains.bin):
- go tool link -L src -o $@ --extldflags '$(LDLIBS)' $*.a
+ go tool link $(GOLDFLAGS) -L src -o $@ --extldflags '$(LDLIBS)' $*.a
$(xtmains.a):
go tool compile -I $(@D) -o $@ -p main $*.go
$(xtmains.bin):
- go tool link -L $(@D) -L src -o $@ --extldflags '$(LDLIBS)' $*.a
+ go tool link $(GOLDFLAGS) -L $(@D) -L src -o $@ --extldflags '$(LDLIBS)' $*.a
$(fuzz/lib.a):
go tool compile $(GOCFLAGS) -o $@ -p $(NAME) -d=libfuzzer \