summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 911543031e..d3dcc7d86e 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -96,12 +96,10 @@ endif
#
ifeq ($(HOSTOS),cygwin)
SFX = .exe
-HOST_CFLAGS += -D__WIN32__
else
SFX =
endif
-
#
# Include this after HOSTOS HOSTARCH check
# so that we can act intelligently.
@@ -111,7 +109,7 @@ include $(TOPDIR)/config.mk
#
# Use native tools and options
#
-CPPFLAGS = -I../include -I.. -DTEXT_BASE=$(TEXT_BASE) -DUSE_HOSTCC
+CPPFLAGS = -idirafter ../include -DTEXT_BASE=$(TEXT_BASE) -DUSE_HOSTCC
CFLAGS = $(HOST_CFLAGS) $(CPPFLAGS) -O
AFLAGS = -D__ASSEMBLY__ $(CPPFLAGS)
CC = $(HOSTCC)
OpenPOWER on IntegriCloud