Hmmm at this point I would think it is easier to just add the build-dependency; as a quick workaround for something that will be fixed fairly soon, it doesn't have to be particularly neat or make sense... If you could add the -isystem flag everywhere (such as the attached) it would be used even when -nostdinc is requested, potentially creating new problems. Regards, -- Steven Chamberlain steven@pyro.eu.org
--- sys/conf/kern.mk 2014-08-25 13:00:03.000000000 +0100
+++ flavor-10.1-0-amd64/sys/conf/kern.mk 2014-08-26 03:13:30.654932545 +0100
@@ -34,6 +34,9 @@
CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
-Wno-error-parentheses-equality -Wno-error-unused-function \
${NO_WFORMAT}
+# :XXX:
+DEB_MULTIARCH_HACK != dpkg-architecture -qDEB_HOST_MULTIARCH
+CFLAGS+= -isystem /usr/include/${DEB_MULTIARCH_HACK}
.endif
# External compilers may not support our format extensions. Allow them