mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-08 01:10:28 +00:00
(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
This commit is contained in:
parent
41129edc78
commit
958e2cb9e4
@ -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
Block a user