[e90b2f]: src / gc-unstable / build_atomic_ops.sh.cygwin Maximize Restore History

Download this file

build_atomic_ops.sh.cygwin    15 lines (14 with data), 381 Bytes

#!/bin/sh
# We install through the temporary directory in case pwd contains spaces,
# which otherwise breaks the build machinery.
# This is a gross hack and probably breaks incremental rebuilds
mkdir libatomic_ops-install
P=`pwd`
Q=`mktemp -d`
ln -s "$P" $Q/dir
cd $Q/dir/libatomic_ops
./configure --prefix=$Q/dir/libatomic_ops-install
$MAKE CC=$CC install
cd /
rm $Q/dir
rmdir $Q