libX11: fix PIE build.
This commit is contained in:
parent
b92bd8dcd8
commit
4b58d97be9
@ -1,7 +1,7 @@
|
|||||||
# Template build file for 'libX11'.
|
# Template build file for 'libX11'.
|
||||||
pkgname=libX11
|
pkgname=libX11
|
||||||
version=1.6.3
|
version=1.6.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-ipv6 --enable-xlocaledir --without-xmlto
|
configure_args="--enable-ipv6 --enable-xlocaledir --without-xmlto
|
||||||
--disable-secure-rpc --disable-static --enable-malloc0returnsnull"
|
--disable-secure-rpc --disable-static --enable-malloc0returnsnull"
|
||||||
@ -22,6 +22,10 @@ if [ "$CROSS_BUILD" ]; then
|
|||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
CFLAGS_FOR_BUILD="-fPIC" ./configure ${configure_args}
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user