build: disable O_CLOEXEC for PX4 and VRBRAIN

This commit is contained in:
Lucas De Marchi 2016-10-31 09:04:02 -02:00
parent 5b66062f85
commit 57aec40acb
3 changed files with 3 additions and 0 deletions

View File

@ -423,6 +423,7 @@ class px4(Board):
env.DEFINES.update(
CONFIG_HAL_BOARD = 'HAL_BOARD_PX4',
HAVE_OCLOEXEC = 0,
HAVE_STD_NULLPTR_T = 0,
)
env.CXXFLAGS += [

View File

@ -34,6 +34,7 @@ EXTRAFLAGS += -D__STDC_FORMAT_MACROS
EXTRAFLAGS += -DHAVE_STD_NULLPTR_T=0
EXTRAFLAGS += -DHAVE_ENDIAN_H=0
EXTRAFLAGS += -DHAVE_BYTESWAP_H=0
EXTRAFLAGS += -DHAVE_OCLOEXEC=0
EXTRAFLAGS += -I$(BUILDROOT)/libraries/GCS_MAVLink/include/mavlink

View File

@ -42,6 +42,7 @@ EXTRAFLAGS += -DUAVCAN=1
# Add missing parts from libc and libstdc++
EXTRAFLAGS += -DHAVE_STD_NULLPTR_T=0
EXTRAFLAGS += -DHAVE_OCLOEXEC=0
EXTRAFLAGS += -I$(BUILDROOT)/libraries/GCS_MAVLink/include/mavlink