deal with PIE and SSP

This commit is contained in:
christos 2016-10-01 13:57:44 +00:00
parent 684d040da8
commit 6ca166beb3
4 changed files with 15 additions and 11 deletions

View File

@ -1,8 +1,12 @@
# $NetBSD: Makefile.buildboot,v 1.31 2016/03/10 09:00:24 martin Exp $
# $NetBSD: Makefile.buildboot,v 1.32 2016/10/01 13:57:44 christos Exp $
#
# This file is for the sparc `boot' and `bootxx' only; it does not
# currently play well on a 64-bit system.
NOSSP= # defined
NOPIE= # defined
NOMAN= # defined
S= ${.CURDIR}/../../../..
.PATH: ${.CURDIR}/../common ${.CURDIR}/../../sparc
@ -10,7 +14,6 @@ S= ${.CURDIR}/../../../..
COMMONSOURCE= srt0.S promdev.c dvma.c promlib.c isfloppy.c
SRCS= ${COMMONSOURCE} ${PROGSOURCE}
NOMAN= # defined
BINMODE= 444
.include <bsd.own.mk>

View File

@ -1,9 +1,8 @@
# $NetBSD: Makefile.inc,v 1.13 2016/05/19 15:41:18 christos Exp $
# $NetBSD: Makefile.inc,v 1.14 2016/10/01 13:57:44 christos Exp $
.ifndef __INCLUDED_STAND_MAKEFILE_INC
__INCLUDED_STAND_MAKEFILE_INC=
.include <bsd.own.mk>
NOSSP= # defined
NOPIE= # defined
NOMAN= # defined
BINDIR= /usr/mdec
NOPIE= yes
@ -14,5 +13,3 @@ CFLAGS+= -ffreestanding ${${ACTIVE_CC} == "gcc":? -msoft-float :}
.if ${MACHINE} == "sparc64"
CPPFLAGS+= -DSUN4U
.endif
.endif

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.15 2014/03/04 17:57:56 joerg Exp $
# $NetBSD: Makefile,v 1.16 2016/10/01 13:57:44 christos Exp $
.include <bsd.init.mk>
CURDIR= ${.CURDIR}
S= ${CURDIR}/../../../..

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.36 2015/10/26 07:11:33 mrg Exp $
# $NetBSD: Makefile,v 1.37 2016/10/01 13:57:44 christos Exp $
.include <bsd.init.mk>
CURDIR= ${.CURDIR}
S= ${CURDIR}/../../../..