ports/devel/wasmer/files/patch-Makefile
Krešimir Jozić f523e58dac devel/wasmer: Add new port
Wasmer is a fast and secure WebAssembly runtime that enables super lightweight
containers to run anywhere: from Desktop to the Cloud, Edge and IoT devices.

Features:
 - Secure by default. No file, network, or environment access, unless explicitly
   enabled.
 - Supports WASIX, WASI and Emscripten out of the box.
 - Fast. Run WebAssembly at near-native speeds.
 - Embeddable in multiple programming languages
 - Compliant with latest WebAssembly Proposals (SIMD, Reference Types, Threads,

PR:		272195
2023-08-16 19:10:41 +02:00

11 lines
393 B
Text

--- Makefile.orig 2023-06-24 22:58:59 UTC
+++ Makefile
@@ -312,7 +312,7 @@ ifneq (, $(filter 1, $(IS_DARWIN) $(IS_LINUX) $(IS_FRE
reset := $(shell tput sgr0 2>/dev/null || echo -n '')
endif
-HOST_TARGET=$(shell rustup show | grep 'Default host: ' | cut -d':' -f2 | tr -d ' ')
+HOST_TARGET=$(shell rustc -V -v | grep 'host: ' | cut -d':' -f2 | tr -d ' ')
TARGET_DIR ?= target/release