4 PKGNAMEPREFIX= aarch64-none-elf-
5 COMMENT= GNU Compiler Collection for bare metal arm cross-development
6 GCC_TARGET= aarch64-none-elf
7 PLIST= ${.CURDIR}/pkg-plist
9 # U-Boot requires libgcc, crossbuild and install it along with the compiler.
10 ALL_TARGET= all-gcc all-target-libgcc
11 INSTALL_TARGET= install-gcc install-target-libgcc
13 BROKEN_aarch64= fails to package
14 BROKEN_mips= configure: error: cannot compute suffix of object files: cannot compile
15 BROKEN_mips64= configure: error: cannot compute suffix of object files: cannot compile
17 MASTERDIR= ${.CURDIR}/../powerpc64-gcc
19 .include "${MASTERDIR}/Makefile"
21 # The following is required for clang to bootstrap gcc.
22 .if ${COMPILER_TYPE} == clang
23 MAKE_ARGS+= CXXFLAGS=-fbracket-depth=512