summaryrefslogtreecommitdiffstats
path: root/make/custom/pc386.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/pc386.cfg')
-rw-r--r--make/custom/pc386.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/custom/pc386.cfg b/make/custom/pc386.cfg
index 3aad174d6c..48ed118efe 100644
--- a/make/custom/pc386.cfg
+++ b/make/custom/pc386.cfg
@@ -89,6 +89,7 @@ endef
else
define make-exe
$(CC) $(CFLAGS) $(CFLAGS_LD) -Wl,-Ttext,$(RELOCADDR) \
+ -Wl,--oformat,elf32-i386 -o $(basename $@).obj \
-o $(basename $@).obj \
$(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O a.out-i386 \