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

USE_BUILD_DIR=1
CC="ccache clang"
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"
CFLAGS+=" -Qunused-arguments -Wno-parentheses-equality -Wno-array-bounds -Wno-unused-const-variable -Wno-missing-field-initializers -fvisibility=hidden"