Up to [cvs.NetBSD.org] / src / share / mk
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pgoyette-compat-0625
Revision 1.375 / (download) - annotate - [select for diffs], Thu Jun 21 11:24:38 2018 UTC (8 months ago) by kamil
CVS Tags: pgoyette-compat-0625
Changes since 1.374: +3 -2 lines
Diff to previous 1.374 (colored)
Refactor MKSANITIZER flags in mk rules Introduce a new variable SANITIZERFLAGS that contains all the sanitizer specific flags. These flags are designed to be passed to CFLAGS, CXXFLAGS and LDFLAGS. Pass SANITIZERFLAGS in bsd.prog.mk rules to CFLAGS, CXXFLAGS and LDFLAGS. Pass SANITIZERFLAGS in bsd.lib.mk rules to *_pic.a build flags. The *_pic.a libraries are designed to construct .so libraries. All .so libraries with few exceptions are expected to be prebuilt with a sanitizer. Another purpuse of *_pic.a files can be constructing static PIE programs, however they are not supported as of now and there is no sanitization of static programs either. Once MKSTATICPIE will be supported, it will be initially incompatible with MKSANITIZER. This change also makes it easier to build other targets like kernel and kernel modules without userland sanitizers. No functional change intended for MKSANITIZER=no users.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.