Date: Sun, 3 Dec 2017 13:33:03 +0000 (UTC) From: Gerald Pfeifer <gerald@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455404 - head/lang/gcc7 Message-ID: <201712031333.vB3DX3Ub076420@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gerald Date: Sun Dec 3 13:33:02 2017 New Revision: 455404 URL: https://svnweb.freebsd.org/changeset/ports/455404 Log: Remove special code handling armv7 and armv6 (which for GCC 6 and 5-based ports is necessary for aarch64, armv6 and armv7, but that we do not need for newer ports). [1] Shorten the distinct .if statements for architecture-specific settings, to use .elif instead. Consulted with: andreast [1] Modified: head/lang/gcc7/Makefile Modified: head/lang/gcc7/Makefile ============================================================================== --- head/lang/gcc7/Makefile Sun Dec 3 12:48:30 2017 (r455403) +++ head/lang/gcc7/Makefile Sun Dec 3 13:33:02 2017 (r455404) @@ -55,21 +55,10 @@ CONFIGURE_ARGS+= --disable-multilib .if ${ARCH} == amd64 CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} -.endif -.if ${ARCH} == powerpc64 +.elif ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" USE_GCC= yes -.endif - -.if ${ARCH} == armv6 || ${ARCH} == armv7 -. if ${COMPILER_TYPE} == clang -. if empty(PORT_OPTIONS:MBOOTSTRAP) -MAKE_ARGS+=CXXFLAGS+=-fbracket-depth=512 -. else -MAKE_ARGS+=STAGE1_CXXFLAGS+=-fbracket-depth=512 -. endif -. endif .endif LANGUAGES:= c,c++,objc,fortran
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712031333.vB3DX3Ub076420>