Le 07/05/2017 à 16:35, Mark Morgan Lloyd a écrit : > On 05/05/17 16:00, Pierre Muller wrote: > >> You probably need to add the -Xn option into the makepack script! > > Thanks for the pointer as to where it goes: those last words stopped me > spending days looking for the appropriate makefile :-) > > If I do this it builds successfully: > > *sunos*) MAKE=gmake > EXTRAOPT='-Xn' > # Use GNU tar if present > if [ "`which gtar`" != "" ]; then > TAR=`which gtar` > fi > ;; > > Should I raise a bug on Mantis for this? can anybody comment on what > impact this would have on the Intel target for Solaris? > > I'll add a note to the existing stuff on the Wiki.
I committed the patch below, which basically restricts your change to native compilation. Pierre muller@gcc45:~/pas/trunk$ svn diff -c 1302 Index: install/makepack =================================================================== --- install/makepack (revision 1301) +++ install/makepack (revision 1302) @@ -45,6 +45,10 @@ ;; *sunos*) MAKE=gmake + # Use system linker if on solaris machine + if [ "$SOURCEOS" == "solaris" ]; then + EXTRAOPT="-Xn" + fi # Use GNU tar if present if [ "`which gtar`" != "" ]; then TAR=`which gtar` _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel