summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/alpha/conf/Makefile.alpha4
-rw-r--r--sys/arch/amd64/conf/Makefile.amd644
-rw-r--r--sys/arch/armish/conf/Makefile.armish4
-rw-r--r--sys/arch/beagle/conf/Makefile.beagle4
-rw-r--r--sys/arch/gumstix/conf/Makefile.gumstix4
-rw-r--r--sys/arch/hppa/conf/Makefile.hppa5
-rw-r--r--sys/arch/hppa64/conf/Makefile.hppa645
-rw-r--r--sys/arch/i386/conf/Makefile.i3864
-rw-r--r--sys/arch/landisk/conf/Makefile.landisk4
-rw-r--r--sys/arch/loongson/conf/Makefile.loongson5
-rw-r--r--sys/arch/macppc/conf/Makefile.macppc4
-rw-r--r--sys/arch/octeon/conf/Makefile.octeon5
-rw-r--r--sys/arch/palm/conf/Makefile.palm4
-rw-r--r--sys/arch/sgi/conf/Makefile.sgi5
-rw-r--r--sys/arch/socppc/conf/Makefile.socppc4
-rw-r--r--sys/arch/solbourne/conf/Makefile.solbourne5
-rw-r--r--sys/arch/sparc/conf/Makefile.sparc4
-rw-r--r--sys/arch/sparc64/conf/Makefile.sparc645
-rw-r--r--sys/arch/zaurus/conf/Makefile.zaurus4
19 files changed, 45 insertions, 38 deletions
diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha
index 623010617e6..aadd247ae0d 100644
--- a/sys/arch/alpha/conf/Makefile.alpha
+++ b/sys/arch/alpha/conf/Makefile.alpha
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.alpha,v 1.78 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.alpha,v 1.79 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp -traditional-cpp ${CMACHFLAGS}
-LINKFLAGS= -T ${_machdir}/conf/ld.script -X -N -G 4 --warn-common
+LINKFLAGS= -T ${_machdir}/conf/ld.script -X -N -G 4 --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64
index f22441a8469..505b237bfff 100644
--- a/sys/arch/amd64/conf/Makefile.amd64
+++ b/sys/arch/amd64/conf/Makefile.amd64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amd64,v 1.52 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.amd64,v 1.53 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -39,7 +39,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
-LINKFLAGS= -Ttext 0xffffffff801001e0 -e start --warn-common
+LINKFLAGS= -Ttext 0xffffffff801001e0 -e start --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/armish/conf/Makefile.armish b/sys/arch/armish/conf/Makefile.armish
index 75621bd086c..d61bea83a69 100644
--- a/sys/arch/armish/conf/Makefile.armish
+++ b/sys/arch/armish/conf/Makefile.armish
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.armish,v 1.43 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.armish,v 1.44 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
-LINKFLAGS= -T ldscript --warn-common
+LINKFLAGS= -T ldscript --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/beagle/conf/Makefile.beagle b/sys/arch/beagle/conf/Makefile.beagle
index fc04a0a907e..70f9c8179be 100644
--- a/sys/arch/beagle/conf/Makefile.beagle
+++ b/sys/arch/beagle/conf/Makefile.beagle
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.beagle,v 1.39 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.beagle,v 1.40 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
-LINKFLAGS= -T ldscript --warn-common
+LINKFLAGS= -T ldscript --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/gumstix/conf/Makefile.gumstix b/sys/arch/gumstix/conf/Makefile.gumstix
index ffce110fc17..255f83b01d4 100644
--- a/sys/arch/gumstix/conf/Makefile.gumstix
+++ b/sys/arch/gumstix/conf/Makefile.gumstix
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.gumstix,v 1.35 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.gumstix,v 1.36 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
-LINKFLAGS= -T ldscript --warn-common
+LINKFLAGS= -T ldscript --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/hppa/conf/Makefile.hppa b/sys/arch/hppa/conf/Makefile.hppa
index 72ff096f827..0c48ca3e7bb 100644
--- a/sys/arch/hppa/conf/Makefile.hppa
+++ b/sys/arch/hppa/conf/Makefile.hppa
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hppa,v 1.70 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.hppa,v 1.71 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -36,7 +36,8 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -Os
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
-LINKFLAGS= -X -T ${_machdir}/conf/ld.script -Ttext 80000 --warn-common
+LINKFLAGS= -X -T ${_machdir}/conf/ld.script -Ttext 80000 --warn-common \
+ -nopie
.if ${IDENT:M-DDDB} != ""
CFLAGS+= -fno-omit-frame-pointer
diff --git a/sys/arch/hppa64/conf/Makefile.hppa64 b/sys/arch/hppa64/conf/Makefile.hppa64
index c8dc04d1263..8338c5fbca9 100644
--- a/sys/arch/hppa64/conf/Makefile.hppa64
+++ b/sys/arch/hppa64/conf/Makefile.hppa64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hppa64,v 1.42 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.hppa64,v 1.43 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -36,7 +36,8 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -Os
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp -traditional-cpp ${CMACHFLAGS}
-LINKFLAGS= -X -T ${_machdir}/conf/ld.script -Ttext 80000 --warn-common
+LINKFLAGS= -X -T ${_machdir}/conf/ld.script -Ttext 80000 --warn-common \
+ -nopie
.if ${IDENT:M-DDDB} != ""
CFLAGS+= -fno-omit-frame-pointer
diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386
index 5ad71a27009..9e71f6c0728 100644
--- a/sys/arch/i386/conf/Makefile.i386
+++ b/sys/arch/i386/conf/Makefile.i386
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.i386,v 1.84 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.i386,v 1.85 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
-LINKFLAGS= -Ttext 0xD0200120 -e start -N --warn-common
+LINKFLAGS= -Ttext 0xD0200120 -e start -N --warn-common -nopie
.if ${MACHINE} == "amd64"
CFLAGS+= -m32
diff --git a/sys/arch/landisk/conf/Makefile.landisk b/sys/arch/landisk/conf/Makefile.landisk
index 0d82f44c7c1..d9523c8b112 100644
--- a/sys/arch/landisk/conf/Makefile.landisk
+++ b/sys/arch/landisk/conf/Makefile.landisk
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.landisk,v 1.45 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.landisk,v 1.46 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
-LINKFLAGS= -N -Ttext 0x8c002000 -e start --warn-common
+LINKFLAGS= -N -Ttext 0x8c002000 -e start --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/loongson/conf/Makefile.loongson b/sys/arch/loongson/conf/Makefile.loongson
index 369f22101c8..7ac5e47e48a 100644
--- a/sys/arch/loongson/conf/Makefile.loongson
+++ b/sys/arch/loongson/conf/Makefile.loongson
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.loongson,v 1.34 2012/08/23 15:09:10 deraadt Exp $
+# $OpenBSD: Makefile.loongson,v 1.35 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -45,7 +45,8 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
-LINKFLAGS= -e start -T ${_machdir}/conf/ld.script -Ttext=${LINK_ADDRESS} -warn-common
+LINKFLAGS= -e start -T ${_machdir}/conf/ld.script -Ttext=${LINK_ADDRESS} \
+ -warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/macppc/conf/Makefile.macppc b/sys/arch/macppc/conf/Makefile.macppc
index c94c4d3a3fb..2ca26a97027 100644
--- a/sys/arch/macppc/conf/Makefile.macppc
+++ b/sys/arch/macppc/conf/Makefile.macppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.macppc,v 1.64 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.macppc,v 1.65 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE ${CMACHFLAGS}
-LINKFLAGS= -N -Ttext 100114 -e start --warn-common
+LINKFLAGS= -N -Ttext 100114 -e start --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/octeon/conf/Makefile.octeon b/sys/arch/octeon/conf/Makefile.octeon
index 9c779d7315e..d1e4824e07b 100644
--- a/sys/arch/octeon/conf/Makefile.octeon
+++ b/sys/arch/octeon/conf/Makefile.octeon
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.octeon,v 1.10 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.octeon,v 1.11 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -45,7 +45,8 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
-LINKFLAGS= -e start -T ${_machdir}/conf/ld.script -Ttext=${LINK_ADDRESS}
+LINKFLAGS= -e start -T ${_machdir}/conf/ld.script -Ttext=${LINK_ADDRESS} \
+ -nopie
STRIPFLAGS= -g -x
.if ${IDENT:M-DDDB_STRUCT}
diff --git a/sys/arch/palm/conf/Makefile.palm b/sys/arch/palm/conf/Makefile.palm
index 7b92f074978..3c5613cc5c5 100644
--- a/sys/arch/palm/conf/Makefile.palm
+++ b/sys/arch/palm/conf/Makefile.palm
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.palm,v 1.32 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.palm,v 1.33 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
-LINKFLAGS= -T ldscript --warn-common
+LINKFLAGS= -T ldscript --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/sgi/conf/Makefile.sgi b/sys/arch/sgi/conf/Makefile.sgi
index 7d0e27a1a08..7c707b59546 100644
--- a/sys/arch/sgi/conf/Makefile.sgi
+++ b/sys/arch/sgi/conf/Makefile.sgi
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sgi,v 1.57 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.sgi,v 1.58 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -45,7 +45,8 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
-LINKFLAGS= -e start -T ${_machdir}/conf/ld.script -Ttext=${LINK_ADDRESS} --warn-common
+LINKFLAGS= -e start -T ${_machdir}/conf/ld.script -Ttext=${LINK_ADDRESS} \
+ --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/socppc/conf/Makefile.socppc b/sys/arch/socppc/conf/Makefile.socppc
index 50f8a3497ff..5ec247d68f0 100644
--- a/sys/arch/socppc/conf/Makefile.socppc
+++ b/sys/arch/socppc/conf/Makefile.socppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.socppc,v 1.35 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.socppc,v 1.36 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE ${CMACHFLAGS}
-LINKFLAGS= -N -Ttext 200000 -e start --warn-common
+LINKFLAGS= -N -Ttext 200000 -e start --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/solbourne/conf/Makefile.solbourne b/sys/arch/solbourne/conf/Makefile.solbourne
index 21127094c08..e3c69c47da7 100644
--- a/sys/arch/solbourne/conf/Makefile.solbourne
+++ b/sys/arch/solbourne/conf/Makefile.solbourne
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.solbourne,v 1.38 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.solbourne,v 1.39 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,8 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp -traditional-cpp ${CMACHFLAGS}
-LINKFLAGS= -N -e start -T ${_machdir}/conf/ld.script -Ttext FD084000 --warn-common
+LINKFLAGS= -N -e start -T ${_machdir}/conf/ld.script -Ttext FD084000 \
+ --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/sparc/conf/Makefile.sparc b/sys/arch/sparc/conf/Makefile.sparc
index 47c67e394bc..ae44d541f9b 100644
--- a/sys/arch/sparc/conf/Makefile.sparc
+++ b/sys/arch/sparc/conf/Makefile.sparc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sparc,v 1.74 2012/08/23 15:09:10 deraadt Exp $
+# $OpenBSD: Makefile.sparc,v 1.75 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -41,7 +41,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp -traditional-cpp ${CMACHFLAGS}
-LINKFLAGS= -N -e start -Ttext F8004000 --warn-common
+LINKFLAGS= -N -e start -Ttext F8004000 --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64
index e9c1905bd44..a45d55e3226 100644
--- a/sys/arch/sparc64/conf/Makefile.sparc64
+++ b/sys/arch/sparc64/conf/Makefile.sparc64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sparc64,v 1.61 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.sparc64,v 1.62 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,8 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
-LINKFLAGS= -n -Ttext 01000000 -Tdata 01800000 -e start -N --warn-common
+LINKFLAGS= -n -Ttext 01000000 -Tdata 01800000 -e start -N --warn-common \
+ -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h
diff --git a/sys/arch/zaurus/conf/Makefile.zaurus b/sys/arch/zaurus/conf/Makefile.zaurus
index f5c16dee0b1..73c615a879f 100644
--- a/sys/arch/zaurus/conf/Makefile.zaurus
+++ b/sys/arch/zaurus/conf/Makefile.zaurus
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.zaurus,v 1.45 2012/08/22 16:58:26 pascal Exp $
+# $OpenBSD: Makefile.zaurus,v 1.46 2012/08/28 21:03:32 pascal Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector
COPTS?= -O2
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS}
-LINKFLAGS= -T ldscript --warn-common
+LINKFLAGS= -T ldscript --warn-common -nopie
.if ${IDENT:M-DDDB_STRUCT}
DB_STRUCTINFO= db_structinfo.h