From 1e8f612206448b4890c07994bfd7549b63b943d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20C=2E=20Fran=C3=A7a?= Date: Sun, 13 Feb 2022 10:55:45 -0300 Subject: [PATCH] export zig as c/c++ compiler Alternate CC and CXX --- plugins/zig/zig.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/zig/zig.plugin.zsh b/plugins/zig/zig.plugin.zsh index afe03a2d1..01a228010 100644 --- a/plugins/zig/zig.plugin.zsh +++ b/plugins/zig/zig.plugin.zsh @@ -1,7 +1,7 @@ # Zig as C & CXX compiler (clang wrapper) -alias ZCC="zig cc -fno-sanitize=all -lc" -alias ZCXX="zig c++ -fno-sanitize=all -lc -lc++" +export ZCC="zig cc -fno-sanitize=all -lc" +export ZCXX="zig c++ -fno-sanitize=all -lc -lc++" # Zig build-system project alias zbuild="zig build"