buildscripts/libgpg-error.sh
2023-12-03 23:10:57 +01:00

15 lines
No EOL
353 B
Bash
Executable file

#!/bin/bash
git clone https://github.com/gpg/libgpg-error
set -e
cd libgpg-error
git reset HEAD --hard
git checkout libgpg-error-1.41
export CFLAGS="-I$PREFIX/include -O3"
export CPPFLAGS="-I$PREFIX/include -O3"
export LDFLAGS="-L$PREFIX/lib"
./autogen.sh
./configure --host="$xHOST" --prefix="$PREFIX" --disable-doc --disable-tests
make
make install