Blame sofort/ccenv/ccswitch.strs

157779
# ccswitch.strs: project-agnostic list of compiler switches,
157779
# for which support is tested by default.
157779
157779
# when -foo is supported by the host or native compiler, add
157779
# ``CFLAGS_foo = -foo'' to the respective ccenv variable file
157779
# (that is, ccenv/host.mk or ccenv/native.mk).
157779
3ee2a1
# the make variable prefix is _CFLAGS_ or _NATIVE_CFLAGS_
3ee2a1
# (_LDFLAGS_ or _NATIVE_LDFLAGS for -Wl, linker options),
157779
# to which the compiler-switch, minus leading dashes and
157779
# trailing equal-sign or comma, is appended; non-leading
157779
# dashes and non-trailing equal-signs and commas are then
157779
# substituted with underscores.
157779
157779
# the project-agnostic list below can be supplemented by a
157779
# project-specific one, named project/config/ccswitch.strs.
157779
157779
# toolchain switches
157779
-dumpmachine
157779
-print-file-name=
157779
157779
# flavors and variants
157779
-std=c89
157779
-std=c99
157779
-std=c11
157779
157779
# linker switches
88254c
-Wl,--print-map
157779
-Wl,--no-undefined
88254c
-Wl,--verbose
157779
157779
# errors and warnings
157779
-Wall
157779
-Werror
157779
-Wextra
157779
-Wundef
157779
157779
# debugging
157779
-g
157779
-g0
157779
-g1
157779
-g2
157779
-g3
157779
157779
# optimization
157779
-O0
157779
-O1
157779
-O2
157779
-O3
157779
-Os