]>
Commit | Line | Data |
---|---|---|
6d008e61 | 1 | ifeq ($(BR2_PTHREADS_NONE),y) |
272e7fda | 2 | THREADS:=--disable-threads |
6d008e61 MF |
3 | else |
4 | THREADS:=--enable-threads | |
272e7fda MF |
5 | endif |
6 | ||
2d523c23 EA |
7 | ifeq ($(BR2_ENABLE_MULTILIB),y) |
8 | MULTILIB:=--enable-multilib | |
b8086bb1 MF |
9 | else |
10 | MULTILIB:=--disable-multilib | |
2d523c23 EA |
11 | endif |
12 | ||
13 | ||
14 | # FIXME -- this is temporary | |
15 | OPTIMIZE_FOR_CPU=$(ARCH) | |
d06645d8 | 16 | |
99cf7293 BRF |
17 | # late binding check to see if the target cc supports -fwhole-program |
18 | CFLAGS_WHOLE_PROGRAM = $(call cc-option,-fwhole-program,) | |
19 | ||
d06645d8 EA |
20 | # gcc has a bunch of needed stuff.... |
21 | include toolchain/gcc/Makefile.in |