summaryrefslogtreecommitdiff
path: root/config.lib
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-07 13:25:10 +0000
committerrubidium <rubidium@openttd.org>2009-01-07 13:25:10 +0000
commitbfc840f436cb4c4063362ec526e12889e24c144b (patch)
tree3645af68ee048e0da042c422d62d0fafe256fc2f /config.lib
parentebf0fbc9690fd61752370d995f780e8cb3405689 (diff)
downloadopenttd-bfc840f436cb4c4063362ec526e12889e24c144b.tar.xz
(svn r14888) -Change/Fix: don't make makedepend look in whatever's included for headers; it takes ages *and* it will not find all headers anyways as they are placed in locations where only the compiler can easily find them
Diffstat (limited to 'config.lib')
-rw-r--r--config.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib
index 918e5cad1..f122191f2 100644
--- a/config.lib
+++ b/config.lib
@@ -1385,7 +1385,7 @@ make_cflags_and_ldflags() {
# Btw, this almost always comes from outside the configure, so it is
# not something we can control.
if [ "$with_makedepend" != "0" ]; then
- cflags_makedep="` echo "$CFLAGS" | sed 's~ /~ -~g'`"
+ cflags_makedep="` echo "$CFLAGS" | sed 's~ /~ -~g;s~-I[ ]*[^ ]*~~g'`"
else
makedepend=""
fi