-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile_g++_arm64
64 lines (42 loc) · 1.75 KB
/
Makefile_g++_arm64
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
CPLUSPLUS = g++
CC = gcc
# Location of Xerces XML parser library:
XERCES_INC = -ISpines
# XERCES_LIB = -L$(LIB) -lxerces-c1_5_1-x86_64-gcc411 -lpthread -lrt
# Need to use old Compaq assembler:
SYS_OPT +=
# SYS_LANG += -mieee-fp
SYS_INCS +=
SYS_LINK +=
SYS_LIBS +=
SYS_WARN += -pedantic -Wno-long-long
# compiler options controlling C++ dialects:
# for compiling
# SYS_WARN += -fno-nonansi-builtins
# compiler options controlling C++ dialects:
# for optimization and code-generation
SYS_WARN += -Wctor-dtor-privacy -Wsign-promo -Woverloaded-virtual
# compiler options to request or suppress warnings:
# warnings not implied by -Wall and -Wextra
# SYS_WARN += -Wconversion
# preprocessor options (for additional warnings)
SYS_WARN += -Wendif-labels
# For more stringent checks, add the following options:
# SYS_WARN += -Wunused
# overrides -Wno-unused (i.e. standard -Wall)
# warns against unused functions, labels, parameters, variables and values
# SYS_WARN += -Wfloat-equal
# warns against floating point (in)equality comparisons
# SYS_WARN += -Wwrite-strings
# warns against code that can try to write into a string constant
# SYS_WARN += -Wold-style-cast
# warns against old-style (C-style) casts to non-void types in C++ programs
# SYS_WARN += -Wformat=2
# equivalent to -Wformat -Wformat-nonliteral -Wformat-security -Wformat-y2k
# -Wformat-nonliteral issues a warning if the format string (to printf, scanf, etc)
# is not a literal string and so cannot be checked
# -Wformat-security issues a warning against using format functions that represent
# security problems, such as a nonliteral format string with
# no format arguments
# -Wformat-y2k issues a warning against strftime format which may yield
# a two-digit year