aboutsummaryrefslogtreecommitdiffstats
path: root/sys/targets
diff options
context:
space:
mode:
authorMarco Vanotti <mvanotti@google.com>2020-06-10 13:33:54 -0700
committerMarco Vanotti <mvanotti@users.noreply.github.com>2020-06-10 18:12:49 -0300
commit3ab7a05ad80cc06be6bbf3744e5272795a078fbf (patch)
tree788d7711342de4d974b3656d9b72f9327c11ecaf /sys/targets
parent80e99b01d739cb73dfb817708671b8cf40d4f2b4 (diff)
sys/targets: fix fuchsiaCFlags
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.
Diffstat (limited to 'sys/targets')
-rw-r--r--sys/targets/targets.go2
1 files changed, 1 insertions, 1 deletions
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",