summaryrefslogtreecommitdiffstats
path: root/platforms/toolchain_options.in
blob: 1c4cb07fb0d14b8a2f9215990170e99b0d16abbf (plain)
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
65
## SECTION=architecture_options

menu "extra toolchain options       "

choice
	prompt "linker hash-style"
	default TARGET_LINKER_HASH_DEFAULT

	config TARGET_LINKER_HASH_DEFAULT
		bool
		prompt "default   "
		help
		  don't change the default linker hash style

	config TARGET_LINKER_HASH_SYSV
		bool
		prompt "sysv      "
		help
		  add "--hash-style=sysv" to the linker options

	config TARGET_LINKER_HASH_GNU
		bool
		prompt "gnu       "
		help
		  add "--hash-style=gnu" to the linker options

	config TARGET_LINKER_HASH_BOTH
		bool
		prompt "gnu & sysv"
		help
		  add "--hash-style=both" to the linker options
endchoice

config TARGET_LINKER_AS_NEEDED
	bool
	prompt "Link only needed libraries (ld --as-needed)"
	help
	  tell the linker to link in the produced binary only the libraries
	  containing symbols actually used by the binary itself.

config TARGET_EXTRA_CPPFLAGS
	string
	prompt "Extra CPPFLAGS (cpp)"
	help
	  Extra options for the C preprocessor.

config TARGET_EXTRA_CFLAGS
	string
	prompt "Extra CFLAGS (c)"
	help
	  Extra options for the C compiler.

config TARGET_EXTRA_CXXFLAGS
	string
	prompt "Extra CXXFLAGS (c++)"
	help
	  Extra options for the C++ compiler.

config TARGET_EXTRA_LDFLAGS
	string
	prompt "Extra LDFLAGS (ld)"
	help
	  Extra options for the linker.

endmenu