Changeset - r9933:60ba498ea839
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-08-17 09:47:02
rubidium@openttd.org
(svn r14088) -Fix (r5994): librt isn't needed to be linked against explicitly as we don't use any functionality of it.
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -1064,25 +1064,24 @@ make_cflags_and_ldflags() {
 

	
 
		# GCC 4.2+ automatically assumes that signed overflows do
 
		# not occur in signed arithmetics, whereas we are not
 
		# sure that they will not happen. It furthermore complains
 
		# about it's own optimized code in some places.
 
		if [ $cc_version -ge 42 ]; then
 
			CFLAGS="$CFLAGS -fno-strict-overflow"
 
		fi
 
	fi
 

	
 
	if [ "$os" != "CYGWIN" ] && [ "$os" != "FREEBSD" ] && [ "$os" != "OPENBSD" ] && [ "$os" != "MINGW" ] && [ "$os" != "MORPHOS" ] && [ "$os" != "OSX" ] && [ "$os" != "WINCE" ] && [ "$os" != "PSP" ] && [ "$os" != "OS2" ]; then
 
		LIBS="$LIBS -lpthread"
 
		LIBS="$LIBS -lrt"
 
	fi
 

	
 
	if [ "$os" != "CYGWIN" ] && [ "$os" != "MINGW" ] && [ "$os" != "WINCE" ]; then
 
		LIBS="$LIBS -lc"
 
	fi
 
	if [ "$os" = "WINCE" ]; then
 
		LIBS="$LIBS -lcoredll -lcorelibc -laygshell -lws2 -e WinMainCRTStartup"
 
	fi
 
	if [ "$os" = "PSP" ]; then
 
		CFLAGS="$CFLAGS -I`$psp_config -p`/include"
 
		LDFLAGS="$LDFLAGS -L`$psp_config -p`/lib"
 

	
0 comments (0 inline, 0 general)