aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2014-07-11 23:23:57 -0700
committerSteven Fackler <[email protected]>2014-07-11 23:23:57 -0700
commitffbf65be9f01b3c7f6f0c848762cc723923e92a4 (patch)
treedb7590578c938b654bb9e2baa4fd631b327fba9b
parentFix travis builds (diff)
parentAdd $(RUSTFLAGS) to the shell that gets crate file names. (diff)
downloadrust-openssl-ffbf65be9f01b3c7f6f0c848762cc723923e92a4.tar.xz
rust-openssl-ffbf65be9f01b3c7f6f0c848762cc723923e92a4.zip
Merge pull request #28 from DiamondLovesYou/master
Add $(RUSTFLAGS) to the shell that gets crate file names.
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 62f2e7b5..5b404687 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -5,7 +5,8 @@ RUSTFLAGS += -O --cfg ndebug $(RUSTCFGS)
INSTALL_DIR := %PREFIX%
OPENSSL_LIB := lib.rs
-OPENSSL := $(foreach file,$(shell $(RUSTC) --print-file-name $(OPENSSL_LIB)),$(BUILDDIR)/$(file))
+OPENSSL := $(foreach file, \
+ $(shell $(RUSTC) $(RUSTFLAGS) --print-file-name $(OPENSSL_LIB)),$(BUILDDIR)/$(file))
OPENSSL_TEST := $(BUILDDIR)/$(shell $(RUSTC) --test --print-file-name $(OPENSSL_LIB))
all: $(OPENSSL)