Changeset - r6230:13b38a5840dd
[Not reviewed]
master
0 1 0
truelight - 18 years ago 2007-03-06 20:37:46
truelight@openttd.org
(svn r9033) [Config] -Fix: GNU strip has -s, but Solaris strip doesn't. Detect this when system is SUNOS.
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -496,6 +496,10 @@ check_params() {
 
			strip_arg=""
 
			# OS2 uses strip via gcc, because it needs to be feed to emxbind
 
			LDFLAGS="$LDFLAGS -s"
 
		elif [ "$os" = "SUNOS" ]; then
 
			# The GNU strip does know -s, the non-GNU doesn't
 
			#  So try to detect it (in a bit of an ugly way)
 
			strip_arg="`$strip -s strip.test 2>/dev/null && echo \"-s\"`"
 
		else
 
			strip_arg="-s"
 
		fi
0 comments (0 inline, 0 general)