Browse Source

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`.
v0.11.0-release
Ben Noordhuis 12 years ago
parent
commit
8548920969
  1. 3
      deps/openssl/asm/Makefile

3
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 "{}" \;

Loading…
Cancel
Save