From 512be35373e9afbe59364d8c26a49f305f911d50 Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Fri, 14 Apr 2023 23:38:35 -0700 Subject: [PATCH] In legion build config, updated path to GNU tools and updated deprecated Sun CC flag for 64-bit builds. --- legion/src/configure.opensparc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/legion/src/configure.opensparc b/legion/src/configure.opensparc index 9a7645f..6d8883f 100644 --- a/legion/src/configure.opensparc +++ b/legion/src/configure.opensparc @@ -97,20 +97,20 @@ echo $combined case $combined in solaris9-sparcv9) toolspath="$SUN_STUDIO/bin" - gnupath="/pkg/gnu/bin" + gnupath="/usr/sfw/bin" mf_as="/usr/ccs/bin/as" mf_asflags="-xarch=v9a" mf_cc="$toolspath/cc" mf_cplus="$toolspath/CC" - mf_cflags="-xildoff -xO0 -g -xarch=v9 -v -mt -xcode=pic32 -KPIC" - mf_cflags_nondebug="-xildoff -xspace -xO3 -fast -xarch=v9 -v -mt -xcode=pic32 -KPIC" + mf_cflags="-xildoff -xO0 -g -m64 -v -mt -xcode=pic32 -KPIC" + mf_cflags_nondebug="-xildoff -xspace -xO3 -fast -m64 -v -mt -xcode=pic32 -KPIC" mf_cpp="$gnupath/cpp" mf_flex="$gnupath/flex" mf_sharedcflags= mf_sharedlibflags="-G -L ./plugins" - mf_ldflags="-xarch=v9 -R'\$\$ORIGIN/plugins'" + mf_ldflags="-m64 -R'\$\$ORIGIN/plugins'" mf_loadlibs="-lpthread -lsocket -lnsl -lm -lc -ldl" mf_def="-DHOST_OS_SOLARIS9=1 -DHOST_CPU_SPARC_V9=1" -- 2.20.1