mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
- 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
This commit is contained in:
parent
eefcf2a610
commit
83960ce670
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=244659
@ -40,6 +40,13 @@ CONFIGURE_ARGS+= --extra-cflags="${CPPFLAGS} ${CFLAGS} -fPIC -I${LOCALBASE}/incl
|
||||
|
||||
.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
|
||||
|
||||
.if ${ARCH}=="i386"
|
||||
MAKE_ENV+= ARCH_X86="1"
|
||||
.endif
|
||||
|
@ -40,6 +40,13 @@ CONFIGURE_ARGS+= --extra-cflags="${CPPFLAGS} ${CFLAGS} -fPIC -I${LOCALBASE}/incl
|
||||
|
||||
.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
|
||||
|
||||
.if ${ARCH}=="i386"
|
||||
MAKE_ENV+= ARCH_X86="1"
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user