From 64b7c3057807ec7c81976830fb384f1477fe6bbe Mon Sep 17 00:00:00 2001 From: Richard Tucker Date: Thu, 15 May 1997 16:28:40 +0100 Subject: [PATCH] Adapt to solaris Copied from Perforce Change: 18178 ServerID: perforce.ravenbrook.com --- mps/qa/test/script/compile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mps/qa/test/script/compile b/mps/qa/test/script/compile index fae3dbd4f46..2a19f830a4f 100644 --- a/mps/qa/test/script/compile +++ b/mps/qa/test/script/compile @@ -10,13 +10,16 @@ 1; +%plat_link = (); +$plat_link{"sol2.4_sparc"} = "-lm"; + sub compiler_settings { $cc_command = "gcc"; $cc_opts = "-ansi -pedantic -Wall -Wstrict-prototypes \\ -Winline -Waggregate-return -Wnested-externs -Wcast-qual \\ -Wshadow -Wmissing-prototypes -Wredundant-decls -Wcast-align \\ -O -g -ggdb3 -D$MMQA_VERSION"; - $cc_link = "$obj_dir/platform.o"; + $cc_link = "$obj_dir/platform.o $plat_link{$platform_class}"; $cc_include = "-I$testlib_dir -I$MPS_INCLUDE_DIR"; }