15 lines
No EOL
353 B
Bash
Executable file
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 |