diff options
author | Julio Merino <jmmv@FreeBSD.org> | 2015-11-02 02:57:34 +0000 |
---|---|---|
committer | Julio Merino <jmmv@FreeBSD.org> | 2015-11-02 02:57:34 +0000 |
commit | 4fedd102f533f8b94e3249344d0e7137db497024 (patch) | |
tree | 837e191bc46beb60151f909a847b3eedcef17f3b /devel/pear-XML_Serializer/Makefile | |
parent | 06b6c549708f1d32635c6b8015f8929fd5b3bca2 (diff) | |
download | ports-4fedd102f533f8b94e3249344d0e7137db497024.tar.gz ports-4fedd102f533f8b94e3249344d0e7137db497024.zip |
Add a MULTILIB option to gcc[56]-devel for powerpc64
This fixes the build of gcc[56]-devel under powerpc64 when the system is
built without the lib32 libraries.
More in detail:
If the system is built with lib32 support (WITH_LIB32, which is the default),
building gcc from ports results in a compiler that can target both 64-bit and
32-bit binaries on powerpc64. However, when lib32 support is disabled
(WITHOUT_LIB32), gcc should only be built with 64-bit support or otherwise
the build fails.
To fix this, explicitly disable 32-bit support when /usr/lib32 is not present
and add a MULTILIB option (which is only defined for powerpc64 when 32-bit
support is possible and defaults to yes to preserve the current behavior) to
allow the user to explicitly control this feature.
Approved by: gerald (maintainer), bdrewery (mentor), andreast
Differential Revision: https://reviews.freebsd.org/D3952
Notes
Notes:
svn path=/head/; revision=400632
Diffstat (limited to 'devel/pear-XML_Serializer/Makefile')
0 files changed, 0 insertions, 0 deletions