Subject: Re: addition for buildlink3/sunpro-cc-logic
To: Charlie Allom <charlie@rubberduck.com>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 02/28/2004 11:18:23
--2xzXx3ruJf7hsAzo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Feb 28, 2004 at 03:14:09AM +1100, Charlie Allom wrote:
> Hi,
>=20
> should we add all the GCCisms and x86isms to this file? ie.
>=20
> -fomit-frame-pointer)
> # SunPro doesn't know about this. You can achieve the same by
> # using -x04 for x86 Solaris, but not independently.
> arg=3D
> addtoprivatecache=3Dyes
> ;;
>=20
> cc only spits out a warning, but we may as well kill it?
yes, a lot of the -f options should be ignored..
> building openssl:
>=20
> gcc -I.. -I../.. -I../../include -fPIC -DTHREADS -D_REENTRANT=20
> -DDSO_DLFCN -DHAVE_DLFCN_H -O -KPIC -xarch=3Dv8plusa -xtarget=3Dultra2 -O=
3=20
> -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -c t_pkey.c
> cc: Warning: illegal option -fomit-frame-pointer
it looks like the openssl build got the wrong compiler, since it calls
'gcc' with '-fPIC'.
the openssl package should properly determine that it is using SunPro.
grant.
--2xzXx3ruJf7hsAzo
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAP95PluYOb9yiFXoRAsNpAJ4tu6AhK3sjiyC5ZWiRX9068KGB1ACcDS4j
VVr3pSxGzZoYO25Zj2tP7CE=
=0PU1
-----END PGP SIGNATURE-----
--2xzXx3ruJf7hsAzo--