2006-04-15 00:37:50 +02:00
|
|
|
ifeq ($(BR2_PTHREADS_NONE),y)
|
2005-10-01 02:36:38 +02:00
|
|
|
THREADS:=--disable-threads
|
2006-04-15 00:37:50 +02:00
|
|
|
else
|
|
|
|
THREADS:=--enable-threads
|
2005-10-01 02:36:38 +02:00
|
|
|
endif
|
|
|
|
|
2004-10-09 03:06:03 +02:00
|
|
|
ifeq ($(BR2_ENABLE_MULTILIB),y)
|
|
|
|
MULTILIB:=--enable-multilib
|
2005-09-22 05:05:52 +02:00
|
|
|
else
|
|
|
|
MULTILIB:=--disable-multilib
|
2004-10-09 03:06:03 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
# FIXME -- this is temporary
|
|
|
|
OPTIMIZE_FOR_CPU=$(ARCH)
|
2005-02-10 04:06:39 +01:00
|
|
|
|
2007-02-12 14:38:06 +01:00
|
|
|
# late binding check to see if the target cc supports -fwhole-program
|
|
|
|
CFLAGS_WHOLE_PROGRAM = $(call cc-option,-fwhole-program,)
|
|
|
|
|
2005-02-10 04:06:39 +01:00
|
|
|
# gcc has a bunch of needed stuff....
|
|
|
|
include toolchain/gcc/Makefile.in
|