summaryrefslogtreecommitdiff
path: root/misc/buildroot/toolchain/Makefile.in
blob: 365e5cc6a6d9331ff1ce1dafea10fd431f7d06c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
ifeq ($(BR2_PTHREADS_NONE),y)
THREADS:=--disable-threads
else
THREADS:=--enable-threads
endif

ifeq ($(BR2_ENABLE_MULTILIB),y)
MULTILIB:=--enable-multilib
else
MULTILIB:=--disable-multilib
endif

# FIXME -- this is temporary
OPTIMIZE_FOR_CPU=$(ARCH)

# late binding check to see if the target cc supports -fwhole-program
CFLAGS_WHOLE_PROGRAM = $(call cc-option,-fwhole-program,)

# gcc has a bunch of needed stuff....
include toolchain/gcc/Makefile.in