From 0f28626c7a5dc2ee4479c13d68dbac71e6ad696d Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Sat, 20 Jul 2019 22:44:35 -0400 Subject: [PATCH] makepkg: use clang for builds --- build-system/makepkg.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-system/makepkg.conf b/build-system/makepkg.conf index 22b04c4..b2e0248 100644 --- a/build-system/makepkg.conf +++ b/build-system/makepkg.conf @@ -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 " PKGDEST="$HOME/bin/packages" PKGEXT='.pkg.tar' SRCDEST="$HOME/bin/sources" -CC=gcc -CXX=g++ +CC=clang +CXX=clang++