mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Yet another attempt at signature-build
This one should work on all flavours of sed Suggested by by Louis Zulli No functional change.
This commit is contained in:
parent
a6c5b4c6fb
commit
7b0b463720
1 changed files with 1 additions and 2 deletions
|
@ -447,8 +447,7 @@ profile-build:
|
|||
embed-signature:
|
||||
@echo "Running benchmark for getting the signature ..."
|
||||
@$(SIGNBENCH) 2>&1 | sed -n 's/Nodes searched : \(.*\)/\/string Version\/s\/"\\(.*\\)"\/"sig-\1"\//p' > sign.txt
|
||||
@sed -f sign.txt misc.cpp > misc2.cpp
|
||||
@mv misc2.cpp misc.cpp
|
||||
@sed -i'' -f sign.txt misc.cpp
|
||||
@rm sign.txt
|
||||
|
||||
signature-build: build embed-signature
|
||||
|
|
Loading…
Add table
Reference in a new issue