Print this page
fix gld to use 32bit only if we are using gld 64bit

@@ -14,11 +14,11 @@
         $(OBJCOPY) -O binary $< $@
 
 
 INCLUDES        = -I. -I..
 CCASFLAGS       += -O2 -fno-builtin -nostdinc
-LDFLAGS         += -nostdlib -N -Ttext 7C00
+LDFLAGS         += -m elf_i386_sol2 -nostdlib -N -Ttext 7C00
 LIBS            =
 
 
 DATA            = $(STAGE1_DATA)
 PROGRAMS        = $(STAGE1_EXEC)