diff options
author | rubidium <rubidium@openttd.org> | 2009-01-07 13:25:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-07 13:25:10 +0000 |
commit | bfc840f436cb4c4063362ec526e12889e24c144b (patch) | |
tree | 3645af68ee048e0da042c422d62d0fafe256fc2f /config.lib | |
parent | ebf0fbc9690fd61752370d995f780e8cb3405689 (diff) | |
download | openttd-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.lib | 2 |
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 |