From 3ab7a05ad80cc06be6bbf3744e5272795a078fbf Mon Sep 17 00:00:00 2001 From: Marco Vanotti Date: Wed, 10 Jun 2020 13:33:54 -0700 Subject: sys/targets: fix fuchsiaCFlags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit modifies the fuchsia cflags to use the short version of the «target» flag. The previous code seemed to be broken due to lacking an `=` after the flag name using the long version. --- sys/targets/targets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/targets/targets.go b/sys/targets/targets.go index b33dd5609..f36257773 100644 --- a/sys/targets/targets.go +++ b/sys/targets/targets.go @@ -391,7 +391,7 @@ func fuchsiaCFlags(arch, clangArch string) []string { out := sourceDirVar + "/out/" + arch return []string{ "-Wno-deprecated", - "--target", clangArch + "-fuchsia", + "-target", clangArch + "-fuchsia", "-ldriver", "-lfdio", "-lzircon", -- cgit mrf-deployment