boehm-gc: revert all CACAO-specific modifications; this is now an exact copy of the...
[cacao.git] / src / mm / boehm-gc / build_atomic_ops.sh.cygwin
1 #!/bin/sh
2 # We install through the temporary directory in case pwd contains spaces,
3 # which otherwise breaks the build machinery.
4 # This is a gross hack and probably breaks incremental rebuilds
5 mkdir libatomic_ops-install
6 P=`pwd`
7 Q=`mktemp -d`
8 ln -s "$P" $Q/dir
9 cd $Q/dir/libatomic_ops-*[0-9]
10 ./configure --prefix=$Q/dir/libatomic_ops-install
11 $MAKE CC=$CC install
12 cd /
13 rm $Q/dir
14 rmdir $Q