Skip to content

Commit

Permalink
use bash to patch rockstar's Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Dec 20, 2022
1 parent 93aff08 commit 11ff28a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,8 @@ commands:
if [ ! -f $ROCKSTAR_DIR/VERSION ]; then
git clone https://bitbucket.org/pbehroozi/rockstar-galaxies $ROCKSTAR_DIR
pushd $ROCKSTAR_DIR
# apply patches, but try to avoid erroring in case of race conditions
set -e
git apply $YT_ASTRO_DIR/rockstar-patches/cflags.patch
set +e
sed -i -e 's/-D_BSD_SOURCE/-D_POSIX_SOURCE/g' Makefile
sed -i -e 's/-D_SVID_SOURCE//g' Makefile
make lib
popd
fi
Expand Down

0 comments on commit 11ff28a

Please sign in to comment.