summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-11-04 21:18:19 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-11-04 21:18:19 +0000
commit44835a918f93196eb994d3c0d92bfa4aa2d4aef6 (patch)
treed8ad2ce666687b6af4f223d70c9a5f271cdad698 /Rules.mak
parent4775ec645660e93078e0da837d63b01a2f41c081 (diff)
This fixes a broken build for me.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index cb0ed31aa..f77737153 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -145,7 +145,7 @@ CFLAGS:=$(WARNINGS) $(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) \
# Sigh, some stupid versions of gcc can't seem to cope with '-iwithprefix include'
#CFLAGS+=-iwithprefix include
-CFLAGS+=$(shell $(CC) -print-search-dirs | sed -ne "s/install:\(.*\)/\1include/gp")
+CFLAGS+=$(shell $(CC) -print-search-dirs | sed -ne "s/install: *\(.*\)/-I\1include/gp")
ifeq ($(strip $(DODEBUG)),y)