ifenslave: build PIE bin.

This commit is contained in:
Juan RP 2014-06-05 10:50:30 +02:00
parent e7e3140376
commit 0e8c27196c

View file

@ -1,7 +1,7 @@
# Template file for 'ifenslave' # Template file for 'ifenslave'
pkgname=ifenslave pkgname=ifenslave
version=1.1.0 version=1.1.0
revision=4 revision=5
short_desc="Attach and detach slave interfaces to a bonding device" short_desc="Attach and detach slave interfaces to a bonding device"
homepage="http://www.kernel.org" homepage="http://www.kernel.org"
license="GPL-2" license="GPL-2"
@ -16,7 +16,7 @@ do_extract() {
} }
do_build() { do_build() {
${CC:-gcc} $CFLAGS $LDFLAGS -Wall -Wstrict-prototypes \ ${CC} ${CFLAGS} -fPIE ${LDFLAGS} -pie -Wall -Wstrict-prototypes \
${FILESDIR}/ifenslave.c -o ifenslave ${FILESDIR}/ifenslave.c -o ifenslave
} }