From 22debb3532606888ef5f8066e370f5a719df6b56 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 25 Sep 2017 15:41:31 -0500 Subject: [PATCH] Fix for LP: #1702298 --- src/cas/build/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/cas/build/Makefile b/src/cas/build/Makefile index ab4a14d99..f1ee7b81e 100644 --- a/src/cas/build/Makefile +++ b/src/cas/build/Makefile @@ -74,10 +74,9 @@ LIBSRCS += casStreamIO.cc LIBSRCS += ipIgnoreEntry.cc # There is a bug in some vxWorks compilers that these work around: -ifeq ($(VX_GNU_VERSION), 4.1.2) - casStreamOS_CXXFLAGS_vxWorks-ppc604_altivec = -O0 - casStreamOS_CXXFLAGS_vxWorks-ppc604_long = -O0 - casStreamOS_CXXFLAGS_vxWorks-ppc604 = -O0 +ifeq ($(VXWORKS_VERSION)$(filter -mcpu=604,$(ARCH_DEP_CFLAGS)), 6.6-mcpu=604) + casDGIntfOS_CXXFLAGS = -fno-inline + casStreamOS_CXXFLAGS = -fno-inline endif LIBSRCS_vxWorks += templateInstances.cpp