diff options
author | lioux <lioux@FreeBSD.org> | 2009-11-23 04:10:25 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2009-11-23 04:10:25 +0800 |
commit | 7ca4a368ab3160c6381b4d0b90a50d20745243b4 (patch) | |
tree | 674a56b6122932c6d1c7e3e8c810b89619e20330 /net-p2p | |
parent | d04184ca2296e3e063282f330dc7e508e84911a3 (diff) | |
download | freebsd-ports-gnome-7ca4a368ab3160c6381b4d0b90a50d20745243b4.tar.gz freebsd-ports-gnome-7ca4a368ab3160c6381b4d0b90a50d20745243b4.tar.zst freebsd-ports-gnome-7ca4a368ab3160c6381b4d0b90a50d20745243b4.zip |
- Fix build on systems where GCC stack protection (aka Propolice)
was enabled for userland on src/share/mk/bsd.sys.mk
(SVN rev 180012 on 2008-06-25 21:33:28Z by ru)
- For OSVERSION >= 800040, add -fstack-protector to LDFLAGS
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/mldonkey/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net-p2p/mldonkey/Makefile b/net-p2p/mldonkey/Makefile index 36f7348d4506..3acd60b62a29 100644 --- a/net-p2p/mldonkey/Makefile +++ b/net-p2p/mldonkey/Makefile @@ -110,6 +110,13 @@ ALL_TARGET+= \ .include <bsd.port.pre.mk> +# Around the time GCC stack protection (aka Propolice) for userland +# was enabled on src/share/mk/bsd.sys.mk +# SVN rev 180012 on 2008-06-25 21:33:28Z by ru +.if ${OSVERSION} >= 800040 +LDFLAGS+= -fstack-protector +.endif + ### Development version ## Thus, we will use non standard threading library ## We will switch from libpthread to libthr which should produce |