From 5822fca27a6861e07c3f74c3abd90cb020304d01 Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Sun, 15 Mar 2009 21:14:27 -0700 Subject: [PATCH] Enable Intel C++ compatibility only when C++ exceptions are enabled. --- src/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index e1fa3cdb..883e019b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -70,6 +70,9 @@ libunwind_la_SOURCES_local_unwind = \ unwind/GetRegionStart.c unwind/GetTextRelBase.c \ unwind/RaiseException.c unwind/Resume.c \ unwind/Resume_or_Rethrow.c unwind/SetGR.c unwind/SetIP.c + +# _ReadULEB()/_ReadSLEB() are needed for Intel C++ 8.0 compatibility +libunwind_la_SOURCES_os_linux_local = mi/_ReadULEB.c mi/_ReadSLEB.c endif # List of arch-independent files needed by local-only library (libunwind): @@ -103,8 +106,6 @@ endif # ARCH_ARM libunwind_la_SOURCES_os_linux = os-linux.h os-linux.c -# _ReadULEB()/_ReadSLEB() are needed for Intel C++ 8.0 compatibility -libunwind_la_SOURCES_os_linux_local = mi/_ReadULEB.c mi/_ReadSLEB.c libunwind_la_SOURCES_os_hpux = os-hpux.c dwarf_SOURCES_common = \