build darwin libs as 32bit x86.

Fri, 04 Mar 2011 13:56:21 -0800

author
Andrew A. de Laix <alain@lindenlab.com>
date
Fri, 04 Mar 2011 13:56:21 -0800
changeset 20
df5efec8c160
parent 19
1d851a3f52bc
child 21
f1c8de42baf0

build darwin libs as 32bit x86.

build-cmd.sh file | annotate | diff | revisions
     1.1 --- a/build-cmd.sh	Fri Mar 04 13:08:15 2011 -0800
     1.2 +++ b/build-cmd.sh	Fri Mar 04 13:56:21 2011 -0800
     1.3 @@ -54,7 +54,7 @@
     1.4  	stage_lib="$stage/lib"
     1.5  	./bootstrap.sh --prefix=$(pwd)
     1.6  
     1.7 -	./bjam toolset=darwin variant=release $BOOST_BJAM_OPTIONS stage
     1.8 +	./bjam toolset=darwin address-model=32 architecture=x86 variant=release $BOOST_BJAM_OPTIONS stage
     1.9  	stage_release="$stage_lib/release"
    1.10  	mkdir -p "$stage_release"
    1.11  	mv "$stage_lib/libboost_program_options.a" "$stage_release"
    1.12 @@ -63,7 +63,7 @@
    1.13  	mv "$stage_lib/libboost_filesystem.a" "$stage_release"
    1.14  	mv "$stage_lib/libboost_system.a" "$stage_release"
    1.15  
    1.16 -	./bjam toolset=darwin variant=debug $BOOST_BJAM_OPTIONS stage
    1.17 +	./bjam toolset=darwin  address-model=32 architecture=x86 variant=debug $BOOST_BJAM_OPTIONS stage
    1.18  	stage_debug="$stage/lib/debug"
    1.19  	mkdir -p "$stage_debug"
    1.20  	mv "$stage_lib/libboost_program_options.a" "$stage_debug"

mercurial