From 7d7f4df70063299f40d595d91529ea62e0c95817 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 17 Nov 2004 19:59:20 +0000 Subject: [PATCH] Avoid an optimizer bug that is present in the Tornado 2.x 68K C compilers at anything greater than -O0. Not a problem in C++ though. --- configure/os/CONFIG.Common.vxWorks-68040 | 2 ++ configure/os/CONFIG.Common.vxWorks-68040lc | 2 ++ configure/os/CONFIG.Common.vxWorks-68060 | 2 ++ 3 files changed, 6 insertions(+) diff --git a/configure/os/CONFIG.Common.vxWorks-68040 b/configure/os/CONFIG.Common.vxWorks-68040 index 5ca818cff..07e007be7 100644 --- a/configure/os/CONFIG.Common.vxWorks-68040 +++ b/configure/os/CONFIG.Common.vxWorks-68040 @@ -19,4 +19,6 @@ ARCH_CLASS = 68k ARCH_DEP_CPPFLAGS = -DCPU=MC68040 ARCH_DEP_CFLAGS = -m68040 +OPT_CFLAGS_YES = -O0 + GNU_TARGET = m68k-wrs-vxworks diff --git a/configure/os/CONFIG.Common.vxWorks-68040lc b/configure/os/CONFIG.Common.vxWorks-68040lc index 7d0f191a7..fd7d543b7 100644 --- a/configure/os/CONFIG.Common.vxWorks-68040lc +++ b/configure/os/CONFIG.Common.vxWorks-68040lc @@ -19,4 +19,6 @@ ARCH_CLASS = 68k ARCH_DEP_CPPFLAGS = -DCPU=MC68LC040 ARCH_DEP_CFLAGS = -m68040 -msoft-float +OPT_CFLAGS_YES = -O0 + GNU_TARGET = m68k-wrs-vxworks diff --git a/configure/os/CONFIG.Common.vxWorks-68060 b/configure/os/CONFIG.Common.vxWorks-68060 index b1053a47c..b5f13165d 100644 --- a/configure/os/CONFIG.Common.vxWorks-68060 +++ b/configure/os/CONFIG.Common.vxWorks-68060 @@ -19,4 +19,6 @@ ARCH_CLASS = 68k ARCH_DEP_CPPFLAGS = -DCPU=MC68060 ARCH_DEP_CFLAGS = -m68040 +OPT_CFLAGS_YES = -O0 + GNU_TARGET = m68k-wrs-vxworks