Page MenuHomeFreeBSD

D45193.id138513.diff
No OneTemporary

D45193.id138513.diff

diff --git a/Makefile.inc1 b/Makefile.inc1
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -172,6 +172,15 @@
LIBCOMPAT_INCLUDE_DIRS+= arm
.endif
+.if ${TARGET} == "arm"
+.info X_COMPILER_TYPE ${X_COMPILER_TYPE}
+.info COMPILER_TYPE ${COMPILER_TYPE}
+.if ((defined(X_COMPILER_TYPE) && ${X_COMPILER_TYPE} == "gcc") || \
+ (!defined(X_COMPILER_TYPE) && ${COMPILER_TYPE} == "gcc"))
+.error "armv6/armv7 build are broken with gcc. See https://reviews.freebsd.org/D36754"
+.endif
+.endif
+
.if ${.MAKE.OS} != "FreeBSD"
CROSSBUILD_HOST=${.MAKE.OS}
.if ${.MAKE.OS} != "Linux" && ${.MAKE.OS} != "Darwin"

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 27, 6:14 PM (3 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16203468
Default Alt Text
D45193.id138513.diff (602 B)

Event Timeline