Skip to content

Commit fcc8f25

Browse files
committed
Give NetBSD headers greater priority than GCC's
This patch prevents GCC's "fixed" headers to creep in and disrupt compilation.
1 parent 289ee22 commit fcc8f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildrump.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ int main() {gzopen(NULL, NULL); return 0;}' -lz \
574574
cat >> "${MKCONF}" << EOF
575575
BUILDRUMP_IMACROS=${BRIMACROS}
576576
.if \${BUILDRUMP_SYSROOT:Uno} == "yes"
577-
BUILDRUMP_CPPFLAGS=--sysroot=\${BUILDRUMP_STAGE}
577+
BUILDRUMP_CPPFLAGS=--sysroot=\${BUILDRUMP_STAGE} -isystem =/usr/include
578578
.else
579579
BUILDRUMP_CPPFLAGS=-I\${BUILDRUMP_STAGE}/usr/include
580580
.endif

0 commit comments

Comments
 (0)