iglupkg: add target info
This commit is contained in:
parent
a652de4c6c
commit
1461a8f981
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@ export JOBS="$(nproc)"
|
||||||
#export RUSTFLAGS="-C target-cpu=native"
|
#export RUSTFLAGS="-C target-cpu=native"
|
||||||
export CC=clang
|
export CC=clang
|
||||||
export CXX=clang++
|
export CXX=clang++
|
||||||
|
export ARCH=$(uname -m)
|
||||||
|
export KERN=linux
|
||||||
|
export ABI=musl
|
||||||
|
export TRIPLE=$ARCH-unknown-$KERN-$ABI
|
||||||
|
|
||||||
#export CFLAGS="-march=native"
|
#export CFLAGS="-march=native"
|
||||||
#export CXXFLAGS="-march=native"
|
#export CXXFLAGS="-march=native"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue