diff options
author | John Marino <marino@FreeBSD.org> | 2016-12-31 22:07:17 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-12-31 22:07:17 +0000 |
commit | 17a3a97bcb0323c986ce5e196e39cf11e2e04a49 (patch) | |
tree | dcc7583840850e94c4a7e04987aadfcf89470271 | |
parent | Remove DISTNAME (diff) |
shells/sparforte: skip -fstack-protector
The gcc6-aux port doesn't build libssp* to which the stack-protctor switch
could try to link. I believe the bdb generator was linking with the base
ssp libraries. The linker couldn't find the base ssp libraries on
DragonFly, which revealed the issue.
Notes
Notes:
svn path=/head/; revision=430171
-rw-r--r-- | shells/sparforte/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shells/sparforte/Makefile b/shells/sparforte/Makefile index 778a5ce89da4..c77ef7da57e1 100644 --- a/shells/sparforte/Makefile +++ b/shells/sparforte/Makefile @@ -132,6 +132,7 @@ post-patch: ${REINPLACE_CMD} -e "s|BDB4|BDB4 -I${PREFIX}/include/db48|" \ -e "s|-ldb|-L${PREFIX}/lib/db48 -ldb|" \ -e "s|db: db.adb|db: bdb_constants.ads db.adb|" \ + -e "s| -fstack-protector||" \ ${WRKSRC}/src/bdb/GNUmakefile # fix areadline linkage ${REINPLACE_CMD} -e "s|gnatlink.*|gnatlink rl.ali -L${PREFIX}/lib -lreadline -lhistory|" \ |