Module Name: src Committed By: rillig Date: Sun Jan 22 15:20:01 UTC 2023
Modified Files: src/share/mk: bsd.sys.mk src/usr.bin/xlint/xlint: lint.1 xlint.c Log Message: lint: repurpose the '-d' option to specify DESTDIR Previously, passing '-nostdinc -isystem $dir' only searched the given directory but not any compiler-specific directories. Discovered by fontconfig, which includes <stdatomic.h> from C11, which lives in /usr/include/gcc-10 instead of /usr/include. Change the preprocessor options to '--sysroot' instead, to align them with how the compiler is invoked using build.sh. To generate a diff of this commit: cvs rdiff -u -r1.311 -r1.312 src/share/mk/bsd.sys.mk cvs rdiff -u -r1.55 -r1.56 src/usr.bin/xlint/xlint/lint.1 cvs rdiff -u -r1.107 -r1.108 src/usr.bin/xlint/xlint/xlint.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.