diff options
author | John Marino <marino@FreeBSD.org> | 2017-01-01 06:07:17 +0800 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2017-01-01 06:07:17 +0800 |
commit | 17a3a97bcb0323c986ce5e196e39cf11e2e04a49 (patch) | |
tree | dcc7583840850e94c4a7e04987aadfcf89470271 /shells | |
parent | 6a03cf4c207d97a0e2f0dfc800c155d3da28758b (diff) | |
download | freebsd-ports-gnome-17a3a97bcb0323c986ce5e196e39cf11e2e04a49.tar.gz freebsd-ports-gnome-17a3a97bcb0323c986ce5e196e39cf11e2e04a49.tar.zst freebsd-ports-gnome-17a3a97bcb0323c986ce5e196e39cf11e2e04a49.zip |
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.
Diffstat (limited to 'shells')
-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|" \ |