We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8943cef commit 874f748Copy full SHA for 874f748
Makefile.in
@@ -3,6 +3,7 @@ VPATH=%VPATH%
3
RUST ?= rust
4
RUSTC ?= rustc
5
RUSTFLAGS ?= -O
6
+HOST_RUSTFLAGS ?= -O
7
VERSION=0.1-pre
8
9
libhttp_files=$(shell find $(VPATH)/src/libhttp/ -type f -name '*.rs') \
@@ -12,7 +13,7 @@ libhttp_files=$(shell find $(VPATH)/src/libhttp/ -type f -name '*.rs') \
12
13
all: libhttp.dummy
14
15
codegen: $(wildcard $(VPATH)/src/libhttp/codegen/*.rs)
- $(RUSTC) $(RUSTFLAGS) $(VPATH)/src/libhttp/codegen/codegen.rs -o codegen
16
+ $(RUSTC) $(HOST_RUSTFLAGS) $(VPATH)/src/libhttp/codegen/codegen.rs -o codegen
17
18
$(VPATH)/src/libhttp/generated/%.rs: codegen
19
./codegen $(patsubst $(VPATH)/src/libhttp/generated/%,%,$@) $(VPATH)/src/libhttp/generated/
0 commit comments