mirror of https://github.com/OpenTTD/OpenTTD
(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
parent
ebf0fbc969
commit
bfc840f436
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue