-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclang.tup
34 lines (27 loc) · 960 Bytes
/
clang.tup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File created: 2012-02-06 11:55:13
# See gcc.tup for explanation of each setting!
CC = clang -fPIC
AR = ar rcs
SHAREDLIBFLAGS = -shared
SRCFLAGS = -Weverything -pedantic \
-Wno-conditional-uninitialized \
-Wno-covered-switch-default \
-Wno-declaration-after-statement \
-Wno-disabled-macro-expansion \
-Wno-extra-semi-stmt \
-Wno-implicit-fallthrough \
-Wno-missing-prototypes \
-Wno-packed \
-Wno-padded \
-Wno-reserved-macro-identifier \
-Wno-sign-conversion \
-Wno-static-in-inline \
-Wno-switch-enum
MUSHSRCFLAGS = -std=c11 '-D_Noreturn=__attribute__((__noreturn__))'
LIBSRCFLAGS = -Wno-reserved-macro-identifier
DEFDIM = -DMUSHSPACE_DIM=
DEF93 = -DMUSHSPACE_93=
INCLUDE = -I
NATIVEFLAGS = -march=native
OPTFLAGS = -flto -O3
DEBFLAGS = -g