From 4ffa5c8c8825157155d46a00ddbd98260f516d4b Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Wed, 29 Jun 2022 16:03:19 +0200 Subject: [PATCH] fix problem with not working epicsSocketAccept() on moxa42-armv6l --- configure/os/CONFIG.Common.moxa42-armv6l | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure/os/CONFIG.Common.moxa42-armv6l b/configure/os/CONFIG.Common.moxa42-armv6l index 9c8ceb7fd..97130f1f0 100644 --- a/configure/os/CONFIG.Common.moxa42-armv6l +++ b/configure/os/CONFIG.Common.moxa42-armv6l @@ -17,3 +17,7 @@ ARCH_DEP_CFLAGS += -funwind-tables # have no full C++11 STD_CXXFLAGS = -std=c++0x + +# accept4() exists but does not work +# Give fake __rtems__ macro to posix/osdSock.c because that disables accept4() +osdSock_CFLAGS += -D__rtems__