Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
boost-jam
boost-jam-jam0_use_passed_cflags.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File boost-jam-jam0_use_passed_cflags.diff of Package boost-jam
--- build.jam +++ build.jam @@ -176,7 +176,7 @@ ## GCC 2.x, 3.x, 4.x toolset gcc gcc : "-o " : -D : -pedantic -fno-strict-aliasing - [ opt --release : [ opt --symbols : -g : -s ] -O3 ] + [ opt --release : [ opt --symbols : -g : -s ] $(CFLAGS) ] [ opt --debug : -g -O0 -fno-inline ] -I$(--python-include) -I$(--extra-include) -Wno-long-long : -L$(--python-lib[1]) -l$(--python-lib[2]) ; --- build.sh +++ build.sh @@ -12,7 +12,7 @@ echo_run () { echo "$@" - $@ + eval "$@" r=$? if test $r -ne 0 ; then exit $r @@ -290,5 +290,9 @@ if test "${BJAM_UPDATE}" != "update" ; then echo_run ./bootstrap/jam0 -f build.jam --toolset=$BOOST_JAM_TOOLSET "--toolset-root=$BOOST_JAM_TOOLSET_ROOT" clean fi - echo_run ./bootstrap/jam0 -f build.jam --toolset=$BOOST_JAM_TOOLSET "--toolset-root=$BOOST_JAM_TOOLSET_ROOT" "$@" + if test -z "$BOOST_JAM_TOOLSET_ROOT"; then + echo_run ./bootstrap/jam0 -f build.jam --toolset=$BOOST_JAM_TOOLSET "$@" + else + echo_run ./bootstrap/jam0 -f build.jam --toolset=$BOOST_JAM_TOOLSET "--toolset-root=$BOOST_JAM_TOOLSET_ROOT" "$@" + fi fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor