File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ CGO_CFLAGS :=
7878CGO_LDFLAGS :=
7979
8080# Parse git current branch commit-hash
81- GO_LDFLAGS + = -X ` go list ./xhyve ` .GitCommit=` git rev-parse --short HEAD 2> /dev/null `
81+ GO_LDFLAGS ? = -X ` go list ./xhyve ` .GitCommit=` git rev-parse --short HEAD 2> /dev/null `
8282
8383
8484# Set debug gcflag, or optimize ldflags
@@ -126,8 +126,8 @@ endif
126126# Use mirage-block for pwritev|preadv
127127HAVE_OCAML_QCOW := $(shell if ocamlfind query qcow uri >/dev/null 2>/dev/null ; then echo YES ; else echo NO; fi)
128128ifeq ($(HAVE_OCAML_QCOW ) ,YES)
129- LIBEV_FILE = /usr/local/lib/libev.a
130- LIBEV = $(shell if test -e $(LIBEV_FILE ) ; then echo $(LIBEV_FILE ) ; fi )
129+ LIBEV_FILE ?= /usr/local/lib/libev.a
130+ LIBEV = $(shell if test -e $(LIBEV_FILE ) ; then echo $(LIBEV_FILE ) ; fi )
131131OCAML_WHERE := $(shell ocamlc -where)
132132OCAML_LDLIBS := -L $(OCAML_WHERE ) \
133133 $(shell ocamlfind query cstruct) /cstruct.a \
You can’t perform that action at this time.
0 commit comments