< prev index next >
make/autoconf/toolchain.m4
Print this page
@@ -1,7 +1,7 @@
#
-# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
@@ -718,16 +718,24 @@
fi
fi
fi
fi
+ case $TOOLCHAIN_TYPE in
+ gcc|clang|solstudio)
BASIC_CHECK_TOOLS(OBJDUMP, [gobjdump objdump])
if test "x$OBJDUMP" != x; then
# Only used for compare.sh; we can live without it. BASIC_FIXUP_EXECUTABLE
# bails if argument is missing.
BASIC_FIXUP_EXECUTABLE(OBJDUMP)
fi
+ BASIC_FIXUP_EXECUTABLE(OBJDUMP)
+ BASIC_CHECK_TOOLS(CXXFILT, [c++filt])
+ BASIC_CHECK_NONEMPTY(CXXFILT)
+ BASIC_FIXUP_EXECUTABLE(CXXFILT)
+ ;;
+ esac
])
# Setup the build tools (i.e, the compiler and linker used to build programs
# that should be run on the build platform, not the target platform, as a build
# helper). Since the non-cross-compile case uses the normal, target compilers
< prev index next >