Date: Sat, 7 Apr 2018 00:26:47 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466699 - in head/devel: aarch64-none-elf-gcc arm-none-eabi-gcc powerpc64-gcc Message-ID: <201804070026.w370QlpG080009@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb (src,doc committer) Date: Sat Apr 7 00:26:46 2018 New Revision: 466699 URL: https://svnweb.freebsd.org/changeset/ports/466699 Log: Fix two more issues with r465416. - Force build of a cross-compiler by defining CROSS_DIRECTORY_STRUCTURE in CFLAGS even if the build host matches the build target. This fixes such a cross compiler to not include /usr/local/lib in its default library path (e.g. amd64-gcc when built on amd64). - Don't remove the include-fixed headers for the aarch64-none-elf-gcc and arm-none-eabi-gcc packages. - Bump PORTREVISION. Reported by: kevans (2) Reviewed by: bdrewery, kevans Differential Revision: https://reviews.freebsd.org/D14925 Modified: head/devel/aarch64-none-elf-gcc/pkg-plist head/devel/arm-none-eabi-gcc/pkg-plist head/devel/powerpc64-gcc/Makefile Modified: head/devel/aarch64-none-elf-gcc/pkg-plist ============================================================================== --- head/devel/aarch64-none-elf-gcc/pkg-plist Sat Apr 7 00:25:51 2018 (r466698) +++ head/devel/aarch64-none-elf-gcc/pkg-plist Sat Apr 7 00:26:46 2018 (r466699) @@ -20,6 +20,9 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/ilp32/crti.o lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/ilp32/crtn.o lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/ilp32/libgcc.a lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/ilp32/libgcov.a +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/arm_acle.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/arm_neon.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/float.h Modified: head/devel/arm-none-eabi-gcc/pkg-plist ============================================================================== --- head/devel/arm-none-eabi-gcc/pkg-plist Sat Apr 7 00:25:51 2018 (r466698) +++ head/devel/arm-none-eabi-gcc/pkg-plist Sat Apr 7 00:26:46 2018 (r466699) @@ -13,6 +13,9 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/crtend.o lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/crtfastmath.o lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/crti.o lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/crtn.o +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/arm_acle.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/arm_neon.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/float.h Modified: head/devel/powerpc64-gcc/Makefile ============================================================================== --- head/devel/powerpc64-gcc/Makefile Sat Apr 7 00:25:51 2018 (r466698) +++ head/devel/powerpc64-gcc/Makefile Sat Apr 7 00:26:46 2018 (r466699) @@ -2,7 +2,7 @@ PORTNAME= gcc PORTVERSION= 6.3.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= GCC/releases/gcc-${DISTVERSION} PKGNAMEPREFIX?= powerpc64- @@ -54,6 +54,9 @@ CONFIGURE_ARGS+=--target=${GCC_TARGET} --disable-nls - ALL_TARGET?= all-gcc INSTALL_TARGET?= install-gcc +# Force build of a cross compiler even if the target matches the host. +CFLAGS+= -DCROSS_DIRECTORY_STRUCTURE + .include <bsd.port.options.mk> .include <bsd.port.pre.mk> @@ -95,7 +98,9 @@ post-install: .endfor @${RM} ${STAGEDIR}${PREFIX}/info/* @${RM} ${STAGEDIR}${PREFIX}/man/man7/* +.if empty(PKGNAMEPREFIX:M*-*-) @${RM} -r ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed +.endif # This port and all its slave ports fail on aarch64 -- but not all # the same way. Provide this definition for the master.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804070026.w370QlpG080009>