uboot-mkimage: use our {C,LD}FLAGS; enable PIE.
This commit is contained in:
parent
0727d3d026
commit
fa5c5e6f46
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'uboot-mkimage'
|
# Template file for 'uboot-mkimage'
|
||||||
pkgname=uboot-mkimage
|
pkgname=uboot-mkimage
|
||||||
version=2014.01
|
version=2014.01
|
||||||
revision=4
|
revision=5
|
||||||
wrksrc="u-boot-${version}"
|
wrksrc="u-boot-${version}"
|
||||||
short_desc="The U-Boot mkimage utility"
|
short_desc="The U-Boot mkimage utility"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -15,12 +15,11 @@ do_configure() {
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||||
make HOSTSTRIP=: HOSTCC="$XBPS_CROSS_TRIPLET-gcc" tools
|
make HOSTSTRIP=: HOSTCC="$XBPS_CROSS_TRIPLET-gcc $CFLAGS $LDFLAGS" tools
|
||||||
else
|
else
|
||||||
make HOSTSTRIP=: tools
|
make HOSTSTRIP=: HOSTCC="$CC $CFLAGS $LDFLAGS" tools
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin tools/mkimage
|
vbin tools/mkimage
|
||||||
vman doc/mkimage.1
|
vman doc/mkimage.1
|
||||||
|
|
Loading…
Reference in New Issue