makepkg: use clang for builds
parent
fa7354140e
commit
0f28626c7a
|
@ -1,4 +1,4 @@
|
|||
CFLAGS="-mtune=native -march=native -O2 -pipe -fstack-protector-strong -fno-plt -w"
|
||||
CFLAGS="-mtune=native -march=native -O2 -pipe -fstack-protector-strong -fno-plt -w -Wno-c++11-narrowing"
|
||||
COMPRESSBZ2=(pbzip2 -c -f)
|
||||
COMPRESSGZ=(pigz -c -f -n)
|
||||
COMPRESSXZ=(xz -c -z - --threads=0)
|
||||
|
@ -8,5 +8,5 @@ PACKAGER="Alison Watson <marrub@greyserv.net>"
|
|||
PKGDEST="$HOME/bin/packages"
|
||||
PKGEXT='.pkg.tar'
|
||||
SRCDEST="$HOME/bin/sources"
|
||||
CC=gcc
|
||||
CXX=g++
|
||||
CC=clang
|
||||
CXX=clang++
|
||||
|
|
Loading…
Reference in New Issue