summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-01-28 17:31:14 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-01-28 17:31:14 -0800
commitae18dd5481cc0f029315a194b1b2dacc5e491c8a (patch)
tree807f7a345955e02f025a985397f6e9adaa611bed
parent4911f111ad27674d01cd93b231d1d67100c45805 (diff)
downloadsyslinux-ae18dd5481cc0f029315a194b1b2dacc5e491c8a.tar.gz
Generate gethostip even when cross-compiling with -m32
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aaa2ff52..facdbcf6 100644
--- a/Makefile
+++ b/Makefile
@@ -199,6 +199,7 @@ $(LIB_SO): bootsect_bin.o ldlinux_bin.o syslxmod.o
gethostip.o: gethostip.c
gethostip: gethostip.o
+ $(CC) $(LDFLAGS) -o $@ $^
mkdiskimage: mkdiskimage.in mbr.bin bin2hex.pl
$(PERL) bin2hex.pl < mbr.bin | cat mkdiskimage.in - > $@