svn commit: r455404 - head/lang/gcc7

Gerald Pfeifer gerald at FreeBSD.org
Sun Dec 3 13:33:04 UTC 2017


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


More information about the svn-ports-all mailing list