From 34e60e1c372de31252c9446391350e0ec0337895 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 3 Dec 2017 13:33:02 +0000 Subject: [PATCH] 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] --- lang/gcc7/Makefile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/lang/gcc7/Makefile b/lang/gcc7/Makefile index cfbc45efc10d..067e32cf9cd2 100644 --- a/lang/gcc7/Makefile +++ b/lang/gcc7/Makefile @@ -55,23 +55,12 @@ 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 TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}