Ticket #14064: patch-build.sh

File patch-build.sh, 817 bytes (added by boydwaters@…, 16 years ago)
Line 
1--- build.sh    2008-05-20 14:13:02.000000000 -0600
2+++ build.sh    2008-05-20 14:15:15.000000000 -0600
3@@ -215,7 +215,7 @@
4     cc)
5     if test -z "$CC" ; then CC=cc ; fi
6     BOOST_JAM_CC=$CC
7-    BOOST_JAM_OPT_JAM="$BOOST_JAM_OPT_JAM $CFLAGS $LIBS"
8+    BOOST_JAM_OPT_JAM="$BOOST_JAM_OPT_JAM         $LIBS"
9     BOOST_JAM_OPT_MKJAMBASE="$BOOST_JAM_OPT_MKJAMBASE $CFLAGS $LIBS"
10     BOOST_JAM_OPT_YYACC="$BOOST_JAM_OPT_YYACC $CFLAGS $LIBS"
11     ;;
12@@ -287,6 +287,7 @@
13     echo_run ${BOOST_JAM_CC} ${BOOST_JAM_OPT_JAM} ${BJAM_SOURCES}
14 fi
15 if test -x "./bootstrap/jam0" ; then
16+    BOOST_JAM_OPT_JAM="$BOOST_JAM_OPT_JAMBASE $CFLAGS $LIBS"
17     if test "${BJAM_UPDATE}" != "update" ; then
18         echo_run ./bootstrap/jam0 -f build.jam --toolset=$BOOST_JAM_TOOLSET "--toolset-root=$BOOST_JAM_TOOLSET_ROOT" clean
19     fi