ifenslave: build PIE bin.
This commit is contained in:
parent
e7e3140376
commit
0e8c27196c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue