aboutsummaryrefslogtreecommitdiffstats
path: root/mk/com32.mk
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-06-13 11:17:29 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-06-20 16:35:35 +0100
commitf6e0c5e552ccbb17489097829116da03677a9270 (patch)
tree719bff45d30013948dcc93b8e10ce81d1553fcd2 /mk/com32.mk
parentfb543aa635ff117187c73ce0ae3dccf8ffe32161 (diff)
downloadsyslinux-f6e0c5e552ccbb17489097829116da03677a9270.tar.gz
syslinux-f6e0c5e552ccbb17489097829116da03677a9270.tar.xz
syslinux-f6e0c5e552ccbb17489097829116da03677a9270.zip
Revert "pxe: resolve names via DNS from protected-mode code"
This reverts commit 6aba981cd9310bae94587d3e51106261bf0e27b9. dns_resolv() is only implemented for PXELINUX, meaning that if we try to execute any module that references it under SYSLINUX, EXTLINUX or ISOLINUX it fails to run because it cannot resolve the symbol. We need a way to implement DNS resolution so that it works for PXELINUX but returns an error for SYSLINUX/EXTLINUX or ISOLINUX, without introducing undefined symbols. The old COMBOOT API method worked splendidly for this, so revert until someone provides a better solution. Conflicts: com32/lib/Makefile com32/modules/host.c mk/elf.mk Cc: Paulo Alcantara <pcacjr@zytor.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'mk/com32.mk')
-rw-r--r--mk/com32.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/mk/com32.mk b/mk/com32.mk
index 6e7e9a68..262d2a6c 100644
--- a/mk/com32.mk
+++ b/mk/com32.mk
@@ -48,8 +48,7 @@ endif
CFLAGS = $(GCCOPT) $(GCCWARN) -march=i386 \
-fomit-frame-pointer -D__COM32__ \
-nostdinc -iwithprefix include \
- -I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE) \
- -I../../core/include
+ -I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE)
SFLAGS = $(GCCOPT) $(GCCWARN) -march=i386 \
-fomit-frame-pointer -D__COM32__ \
-nostdinc -iwithprefix include \