build: disable O_CLOEXEC for PX4 and VRBRAIN
This commit is contained in:
parent
5b66062f85
commit
57aec40acb
@ -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 += [
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user