15 lines
353 B
Bash
15 lines
353 B
Bash
|
#!/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
|