diff options
Diffstat (limited to 'misc/buildroot/toolchain/Makefile.in')
-rw-r--r-- | misc/buildroot/toolchain/Makefile.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/misc/buildroot/toolchain/Makefile.in b/misc/buildroot/toolchain/Makefile.in new file mode 100644 index 000000000..84e2ae42f --- /dev/null +++ b/misc/buildroot/toolchain/Makefile.in @@ -0,0 +1,21 @@ +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 |