summaryrefslogtreecommitdiff
path: root/clang-flags.conf
blob: d4223271ab48efc24a1df54fab044601db7628c5 (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 -O0"
#CFLAGS="-g3 -ggdb3 -O2 -march=native -ffast-math -W -Wall -Wextra -Wshadow"

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