From da7bca9c1635b3f040a8467a4a2d0c2f704e155d Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Thu, 5 May 2022 14:02:31 +0200 Subject: [PATCH] some vxWorks 5 hacks --- configure/os/CONFIG_SITE.Common.vxWorksCommon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure/os/CONFIG_SITE.Common.vxWorksCommon b/configure/os/CONFIG_SITE.Common.vxWorksCommon index 408888afa..3db6eeb0e 100644 --- a/configure/os/CONFIG_SITE.Common.vxWorksCommon +++ b/configure/os/CONFIG_SITE.Common.vxWorksCommon @@ -71,6 +71,7 @@ GNU_DIR = $(GNU_DIR_$(VXWORKS_MAJOR_VERSION)) OP_SYS_CFLAGS += -fno-strict-aliasing OP_SYS_INCLUDE_CPPFLAGS_5 += -include $(VX_DIR)/target/h/vxWorks.h +OP_SYS_INCLUDE_CPPFLAGS_5 += -I$(EPICS_BASE)/include/os/vxWorks/vxWorks5 OP_SYS_INCLUDE_CPPFLAGS_6 += -include $(VX_DIR)/target/h/vxWorks.h OP_SYS_INCLUDE_CPPFLAGS_7 += -include vxWorks.h OP_SYS_INCLUDE_CPPFLAGS = $(OP_SYS_INCLUDE_CPPFLAGS_$(VXWORKS_MAJOR_VERSION)) @@ -79,7 +80,7 @@ OP_SYS_LDFLAGS += $(OP_SYS_LDFLAGS_$@) OP_SYS_LDFLAGS_softIoc = -whole-archive OP_SYS_LDFLAGS_softIocPVA = -whole-archive -# code flags +# code flags (delete -fno-implicit-templates) CODE_CXXFLAGS = # WIND_BASE is where you installed the Wind River software.