Skip to content

Commit

Permalink
Prevent detection of getrandom when compiling libuuid
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Mar 15, 2019
1 parent 8c68eb1 commit d3c72b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/lin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ make install
mkdir ${DEPS}/uuid
curl -Ls https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v$(without_patch $VERSION_UUID)/util-linux-${VERSION_UUID}.tar.xz | tar xJC ${DEPS}/uuid --strip-components=1
cd ${DEPS}/uuid
sed -i "s/getrandom/ignore_getrandom/g" configure
./configure --host=${CHOST} --prefix=${TARGET} --enable-shared --disable-static \
--disable-all-programs --enable-libuuid
make install-strip
Expand Down

0 comments on commit d3c72b1

Please sign in to comment.