mirror of
https://github.com/boostorg/build.git
synced 2026-02-11 23:52:20 +00:00
Patch from Christopher Currie, changes building with sunpro tools to use the C compiler instead of the C++ compiler.
[SVN r19263]
This commit is contained in:
@@ -141,10 +141,10 @@ toolset msvc cl : /Fe : -D
|
||||
[ opt --debug : /MLd /DEBUG /Z7 /Od /Ob0 ]
|
||||
: kernel32.lib ;
|
||||
## Sun Workshop 6 C++
|
||||
toolset sunpro CC : "-o " : -D
|
||||
toolset sunpro cc : "-o " : -D
|
||||
:
|
||||
[ opt --release : -s -fast -O4 ]
|
||||
[ opt --debug : -g +d ] ;
|
||||
[ opt --release : -s -fast -xO4 ]
|
||||
[ opt --debug : -g ] ;
|
||||
## Compaq Alpha CXX
|
||||
toolset tru64cxx cc : "-o " : -D
|
||||
:
|
||||
|
||||
@@ -80,7 +80,7 @@ Guess_Toolset ()
|
||||
elif test_path bc++ ; then BOOST_JAM_TOOLSET=kylix
|
||||
elif test_path aCC ; then BOOST_JAM_TOOLSET=acc
|
||||
elif test_uname HP-UX ; then BOOST_JAM_TOOLSET=acc
|
||||
elif test -r /opt/SUNWspro/bin/CC ; then
|
||||
elif test -r /opt/SUNWspro/bin/cc ; then
|
||||
BOOST_JAM_TOOLSET=sunpro
|
||||
BOOST_JAM_TOOLSET_ROOT=/opt/SUNWspro/
|
||||
# Test for "cc" as the default fallback.
|
||||
@@ -149,13 +149,13 @@ case $BOOST_JAM_TOOLSET in
|
||||
;;
|
||||
|
||||
sunpro)
|
||||
if test -r /opt/SUNWspro/bin/CC ; then
|
||||
if test -r /opt/SUNWspro/bin/cc ; then
|
||||
BOOST_JAM_TOOLSET_ROOT=/opt/SUNWspro/
|
||||
fi
|
||||
if test -r $BOOST_JAM_TOOLSET_ROOTbin/CC ; then
|
||||
if test -r $BOOST_JAM_TOOLSET_ROOTbin/cc ; then
|
||||
export PATH=$BOOST_JAM_TOOLSET_ROOTbin:$PATH
|
||||
fi
|
||||
BOOST_JAM_CC=CC
|
||||
BOOST_JAM_CC=cc
|
||||
;;
|
||||
|
||||
tru64cxx)
|
||||
|
||||
Reference in New Issue
Block a user