diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-03-26 23:19:50 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-03-26 23:23:00 +0100 |
commit | 8548920969d351cfb5e4d90956f95ceee724be74 (patch) | |
tree | 1cfa63117503a6b614311e368384fcca3e15f627 /deps/openssl | |
parent | 2eb847849fc133e39d64798bee01252d9f3c4b58 (diff) | |
download | node-new-8548920969d351cfb5e4d90956f95ceee724be74.tar.gz |
openssl: make sed tool configurable
Those poor sods on systems where /usr/bin/sed is a BSD sed can now do
`make -C deps/openssl/asm SED=gsed`.
Diffstat (limited to 'deps/openssl')
-rw-r--r-- | deps/openssl/asm/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/openssl/asm/Makefile b/deps/openssl/asm/Makefile index 9f54785b44..55d812e9da 100644 --- a/deps/openssl/asm/Makefile +++ b/deps/openssl/asm/Makefile @@ -1,3 +1,4 @@ +SED ?= sed PERL ?= perl PERL += -I../openssl/crypto/perlasm -I../openssl/crypto/bn/asm @@ -111,7 +112,7 @@ x86-win32-masm/%.asm: .PHONY: all all: $(OUTPUTS) # strip trailing whitespace and final blank newline - sed -sri -e 's/\s+$$/\n/' -e '$$ { /^$$/d }' $^ + $(SED) -sri -e 's/\s+$$/\n/' -e '$$ { /^$$/d }' $^ clean: find . -iname '*.asm' -exec rm "{}" \; |