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
commit958e2cb9e4d580ce9440fb73a6083054c51de20e (patch)
tree3645af68ee048e0da042c422d62d0fafe256fc2f /config.lib
parent41129edc78494525510def00bdfc40192cb640ea (diff)
downloadopenttd-958e2cb9e4d580ce9440fb73a6083054c51de20e.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