export zig as c/c++ compiler

Alternate CC and CXX
This commit is contained in:
Matheus C. França 2022-02-13 10:55:45 -03:00 committed by GitHub
parent 0ead02ec6f
commit 1e8f612206
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"