diff options
author | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-09-25 09:01:04 +0000 |
---|---|---|
committer | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-09-25 09:01:04 +0000 |
commit | c60458c393b55d9504705533498b27f875701860 (patch) | |
tree | 5115d5b6aae47a50100423669a4044fe68d47d46 /sys/arch/amd64/stand/mbr/Makefile | |
parent | 364f9c056d58d6405fd541d95b067d8af7b7ed8b (diff) |
Reduce the diff between amd64/stand and i386/stand, requested by deraadt@.
These create essentially the same bootblocks, so the build system should not be
diverging too much, or at least easily diffable.
There is still a lot of work to be done here, but this is the low-hanging fruit.
ok jsing@
Diffstat (limited to 'sys/arch/amd64/stand/mbr/Makefile')
-rw-r--r-- | sys/arch/amd64/stand/mbr/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/amd64/stand/mbr/Makefile b/sys/arch/amd64/stand/mbr/Makefile index f2a8b480fa9..5a16064c8ff 100644 --- a/sys/arch/amd64/stand/mbr/Makefile +++ b/sys/arch/amd64/stand/mbr/Makefile @@ -1,13 +1,14 @@ -# $OpenBSD: Makefile,v 1.5 2012/08/29 17:45:00 pascal Exp $ +# $OpenBSD: Makefile,v 1.6 2012/09/25 09:01:03 pascal Exp $ # PROG= mbr SRCS= mbr.S -AFLAGS+=-m32 -I${.CURDIR} -I${.CURDIR}/../../.. #-Wa,-a +AFLAGS+=-m32 +AFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../.. #-Wa,-a AFLAGS+=-fno-pie LD=ld -LDFLAGS=-melf_i386 -nostdlib -Ttext 0 -x -N -s -Bstatic -e start -LDFLAGS+=-nopie -L/usr/libdata +LDFLAGS=-nostdlib -Ttext 0 -x -N -s -Bstatic -e start -nopie +LDFLAGS+=-melf_i386 -L/usr/libdata NOMAN= #MAN+= mbr.8 |