summaryrefslogtreecommitdiff
path: root/clang-flags.conf
blob: 114e5ad531236df6deab8312bfd800d7462a21f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/bash

USE_BUILD_DIR=1

# CC="/usr/lib/ccache/bin/gcc"
# CFLAGS="-O2 -march=native -ffast-math -W -Wall -Wextra -Wshadow"
#CFLAGS="-g3 -ggdb3 -O2 -march=native -ffast-math -W -Wall -Wextra -Wshadow"
#CFLAGS="-g3 -ggdb3 -O0"

CC="/usr/lib/ccache/bin/clang"
CFLAGS+=" -Qunused-arguments -Wno-parentheses-equality -Wno-array-bounds -Wno-unused-const-variable -Wno-missing-field-initializers -Wno-shadow -Wno-strict-prototypes -fvisibility=hidden"