Changeset - r21707:34e5646b0475
[Not reviewed]
master
0 1 0
planetmaker - 10 years ago 2014-09-19 09:28:23
planetmaker@openttd.org
(svn r26850) -Fix: [Makefile] Compilation of strgen requires also defining variable in for platforms like Solaris
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -1438,12 +1438,13 @@ make_cflags_and_ldflags() {
 
	FEATURES=""
 

	
 
	make_compiler_cflags "$cc_build" "CFLAGS_BUILD" "CXXFLAGS_BUILD" "LDFLAGS_BUILD" "FEATURES_BUILD"
 
	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
 
		OBJS_SUBDIR="release"
 
		if [ "$os" = "MORPHOS" ]; then
 
			CFLAGS="-I/gg/os-include -noixemul -fstrict-aliasing -fexpensive-optimizations -mcpu=604 -fno-inline -mstring -mmultiple $CFLAGS"
0 comments (0 inline, 0 general)