Changeset - r9577:5dca971975cf
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2008-06-22 18:44:28
smatz@openttd.org
(svn r13609) -Codechange: silence warnings about unused variables for gcc2 builds without asserts
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -931,6 +931,12 @@ make_cflags_and_ldflags() {
 
			# Make sure we mark GCC 2.95 flag for Makefile.src.in, as we
 
			#  need a lovely hack there to make it compile correctly.
 
			gcc295="1"
 

	
 
			# Disable warnings about unused variables when
 
			# compiling with asserts disabled
 
			if [ $enable_assert -eq 0 ]; then
 
				CFLAGS="$CFLAGS -Wno-unused"
 
			fi
 
		fi
 

	
 
		if [ $cc_version -ge 30 ]; then
0 comments (0 inline, 0 general)