aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/com32.mk3
-rw-r--r--mk/elf.mk3
2 files changed, 4 insertions, 2 deletions
diff --git a/mk/com32.mk b/mk/com32.mk
index 262d2a6c..6e7e9a68 100644
--- a/mk/com32.mk
+++ b/mk/com32.mk
@@ -48,7 +48,8 @@ endif
CFLAGS = $(GCCOPT) $(GCCWARN) -march=i386 \
-fomit-frame-pointer -D__COM32__ \
-nostdinc -iwithprefix include \
- -I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE)
+ -I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE) \
+ -I../../core/include
SFLAGS = $(GCCOPT) $(GCCWARN) -march=i386 \
-fomit-frame-pointer -D__COM32__ \
-nostdinc -iwithprefix include \
diff --git a/mk/elf.mk b/mk/elf.mk
index ca061152..c5d50551 100644
--- a/mk/elf.mk
+++ b/mk/elf.mk
@@ -44,7 +44,8 @@ endif
CFLAGS = $(GCCOPT) -W -Wall -march=i386 \
-fomit-frame-pointer -D__COM32__ -DDYNAMIC_MODULE \
-nostdinc -iwithprefix include \
- -I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE)
+ -I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE) \
+ -I../../core/include
SFLAGS = $(GCCOPT) -D__COM32__ -march=i386
LDFLAGS = -m elf_i386 -shared --hash-style=gnu -T $(com32)/lib/elf32.ld