瀏覽代碼

This fixes a broken build for me.

Manuel Novoa III 21 年之前
父節點
當前提交
44835a918f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Rules.mak

+ 1 - 1
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)