mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 07:07:36 +08:00
add995c32e
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4200 7fd9a85b-ad96-42d3-883c-3090e2eb8679
22 lines
453 B
Makefile
22 lines
453 B
Makefile
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
|