summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNickolai Zeldovich <[email protected]>2009-09-02 02:03:46 -0400
committerNickolai Zeldovich <[email protected]>2009-09-02 02:03:46 -0400
commit45a978263651815caf7d0741201175c8969c2cc3 (patch)
treed79549084c25963f3bf796dadad56e56c62f980e /Makefile
parent48755214c9a02d6249caf3126d3b41d67eda4730 (diff)
downloadxv6-labs-45a978263651815caf7d0741201175c8969c2cc3.tar.gz
xv6-labs-45a978263651815caf7d0741201175c8969c2cc3.tar.bz2
xv6-labs-45a978263651815caf7d0741201175c8969c2cc3.zip
fix bootblock build with gcc 4.4
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 84c5cd0..6b63eda 100644
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,7 @@ bootblock: bootasm.S bootmain.c
$(CC) $(CFLAGS) -nostdinc -I. -c bootasm.S
$(LD) $(LDFLAGS) -N -e start -Ttext 0x7C00 -o bootblock.o bootasm.o bootmain.o
$(OBJDUMP) -S bootblock.o > bootblock.asm
- $(OBJCOPY) -S -O binary bootblock.o bootblock
+ $(OBJCOPY) -S -O binary -j .text bootblock.o bootblock
./sign.pl bootblock
bootother: bootother.S