Revert "Yet another attempt at signature-build"
authorMarco Costalba <mcostalba@gmail.com>
Sat, 20 Jul 2013 13:15:03 +0000 (15:15 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 20 Jul 2013 13:15:31 +0000 (15:15 +0200)
Still broken on OS X

No functional change.

src/Makefile

index 86693ab..f8d65cc 100644 (file)
@@ -447,7 +447,8 @@ 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 -i'' -f sign.txt misc.cpp
+       @sed -f sign.txt misc.cpp > misc2.cpp
+       @mv misc2.cpp misc.cpp
        @rm sign.txt
 
 signature-build: build embed-signature