diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-17 21:55:49 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-17 21:55:49 +0100 |
commit | 15c84adca94bfe4a89ece5c04f06a884cf508ebb (patch) | |
tree | 727d3fd768a1abe75521190b90833b3a68cce4c6 /package/lsof/Makefile | |
parent | 0de5d9ecedff55481b3c1eb9c3841de17716a485 (diff) |
fix packages to be compile with stack protector
- libtool do not pass -fstack-protector while linking,
but this is required to successfully link libraries or
executables with SSP
- pass LDFLAGS for non-libtool packages
Diffstat (limited to 'package/lsof/Makefile')
-rw-r--r-- | package/lsof/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/lsof/Makefile b/package/lsof/Makefile index f7cfb2b9b..8bad858ae 100644 --- a/package/lsof/Makefile +++ b/package/lsof/Makefile @@ -13,7 +13,8 @@ PKG_URL:= http://people.freebsd.org/~abe/ PKG_SITES:= ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz -WRKDIST= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION}/${PKG_NAME}_${PKG_VERSION}_src +WRKDIST= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION} +WRKSRC= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION}/${PKG_NAME}_${PKG_VERSION}_src include $(TOPDIR)/mk/package.mk @@ -22,7 +23,7 @@ $(eval $(call PKG_template,LSOF,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_ CONFIG_STYLE:= minimal CONFIGURE_PROG:= Configure CONFIGURE_ARGS:= -n linux -XAKE_FLAGS+= CC='${TARGET_CC}' CFLAGS='${TARGET_CFLAGS}' +XAKE_FLAGS+= CC='${TARGET_CC}' CFLAGS='${TARGET_CFLAGS}' CFGL='${TARGET_LDFLAGS} -L./lib -llsof' INSTALL_STYLE:= manual post-extract: |