makepkg: use clang for builds

master
an 2019-07-20 22:44:35 -04:00
parent fa7354140e
commit 0f28626c7a
1 changed files with 3 additions and 3 deletions

View File

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