summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2014-09-19 09:28:23 +0000
committerplanetmaker <planetmaker@openttd.org>2014-09-19 09:28:23 +0000
commita58b74f9977dbdfde6d1749794bb0056c287fcbf (patch)
tree78c0897ca99a331fefdb6481ceaae6b01c2f5f23
parentbc84c52b304e07986a04a519f08c0ec7f8179c3a (diff)
downloadopenttd-a58b74f9977dbdfde6d1749794bb0056c287fcbf.tar.xz
(svn r26850) -Fix: [Makefile] Compilation of strgen requires also defining variable in for platforms like Solaris
-rw-r--r--config.lib1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.lib b/config.lib
index d99acd819..c58b39663 100644
--- a/config.lib
+++ b/config.lib
@@ -1441,6 +1441,7 @@ make_cflags_and_ldflags() {
make_compiler_cflags "$cc_host" "CFLAGS" "CXXFLAGS" "LDFLAGS" "FEATURES"
CFLAGS="$CFLAGS -D$os"
+ CFLAGS_BUILD="$CFLAGS_BUILD -D$os"
if [ "$enable_debug" = "0" ]; then
# No debug, add default stuff