summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/conf/Makefile.hppa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa/conf/Makefile.hppa')
-rw-r--r--sys/arch/hppa/conf/Makefile.hppa8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa/conf/Makefile.hppa b/sys/arch/hppa/conf/Makefile.hppa
index 420332ee849..184904a7020 100644
--- a/sys/arch/hppa/conf/Makefile.hppa
+++ b/sys/arch/hppa/conf/Makefile.hppa
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hppa,v 1.77 2014/10/04 18:10:14 brad Exp $
+# $OpenBSD: Makefile.hppa,v 1.78 2014/11/18 01:17:36 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -36,8 +36,8 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CWARNFLAGS} ${CMACHFLAGS}
-LINKFLAGS= -X -T ${_machdir}/conf/ld.script -Ttext 80000 --warn-common \
- -nopie
+LDSCRIPT= ${_machdir}/conf/ld.script
+LINKFLAGS= -X -T ${LDSCRIPT} -Ttext 80000 --warn-common -nopie
.if ${IDENT:M-DDDB} != ""
CFLAGS+= -fno-omit-frame-pointer
@@ -79,7 +79,7 @@ NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
# ${SYSTEM_LD_TAIL}
SYSTEM_HEAD= locore.o param.o ioconf.o
SYSTEM_OBJ= ${SYSTEM_HEAD} ${OBJS}
-SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
+SYSTEM_DEP= Makefile ${SYSTEM_OBJ} ${LDSCRIPT}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_HEAD} vers.o $${OBJS}'; \
${LD} ${LINKFLAGS} -o $@ ${SYSTEM_HEAD} vers.o ${OBJS}