summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-10-17 18:48:12 +0000
committerrubidium <rubidium@openttd.org>2012-10-17 18:48:12 +0000
commit1ba5d9ca6e20c893f0b8ec3f02ec2c9154a55a3e (patch)
tree5a1074a9f09af6bf41368bf14fd123b43d9597ec
parentc5b41287ed18194094b6d20989e01ce77226fa07 (diff)
downloadopenttd-1ba5d9ca6e20c893f0b8ec3f02ec2c9154a55a3e.tar.xz
(svn r24601) -Fix: _BUILD flags were not properly parsed when reconfiguring
-rw-r--r--config.lib6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.lib b/config.lib
index 13b31341c..55dbc9a16 100644
--- a/config.lib
+++ b/config.lib
@@ -443,9 +443,9 @@ detect_params() {
CFLAGS=* | --CFLAGS=*) CFLAGS="$optarg";;
CXXFLAGS=* | --CXXFLAGS=*) CXXFLAGS="$optarg";;
LDFLAGS=* | --LDFLAGS=*) LDFLAGS="$optarg";;
- CFLAGS_BUILD=* | --CFLAGS_BUILD=*) CFLAGS_BUILD="$optarg";;
- CXXFLAGS_BUILD=* | --CXXFLAGS_BUILD=*) CXXFLAGS_BUILD="$optarg";;
- LDFLAGS_BUILD=* | --LDFLAGS_BUILD=*) LDFLAGS_BUILD="$optarg";;
+ CFLAGS_BUILD=* | --CFLAGS_BUILD=* | --CFLAGS-BUILD=*) CFLAGS_BUILD="$optarg";;
+ CXXFLAGS_BUILD=* | --CXXFLAGS_BUILD=* | --CXXFLAGS-BUILD=*) CXXFLAGS_BUILD="$optarg";;
+ LDFLAGS_BUILD=* | --LDFLAGS_BUILD=* | --LDFLAGS-BUILD=*) LDFLAGS_BUILD="$optarg";;
--ignore-extra-parameters) ignore_extra_parameters="1";;