ifenslave: build PIE bin.
This commit is contained in:
parent
e7e3140376
commit
0e8c27196c
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ifenslave'
|
||||
pkgname=ifenslave
|
||||
version=1.1.0
|
||||
revision=4
|
||||
revision=5
|
||||
short_desc="Attach and detach slave interfaces to a bonding device"
|
||||
homepage="http://www.kernel.org"
|
||||
license="GPL-2"
|
||||
|
@ -16,7 +16,7 @@ do_extract() {
|
|||
}
|
||||
|
||||
do_build() {
|
||||
${CC:-gcc} $CFLAGS $LDFLAGS -Wall -Wstrict-prototypes \
|
||||
${CC} ${CFLAGS} -fPIE ${LDFLAGS} -pie -Wall -Wstrict-prototypes \
|
||||
${FILESDIR}/ifenslave.c -o ifenslave
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue