summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-05-21 09:21:57 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-05-21 09:22:48 +0200
commit146417b9204c3fb0e0ba64a27affad52b491a82d (patch)
tree07baf604f437f8458c0f1151512a2292a825a933 /doc
parenta3236ba179741eaa4d33e712d4850e7e4af58c24 (diff)
downloadptxdist-146417b9204c3fb0e0ba64a27affad52b491a82d.tar.gz
ptxdist-146417b9204c3fb0e0ba64a27affad52b491a82d.tar.xz
wrapper: add package variable to blacklist compiler flags
Another option to prevent unwanted implicit dependencies. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/ref_make_variables.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ref_make_variables.rst b/doc/ref_make_variables.rst
index b770b1b49..674acdcea 100644
--- a/doc/ref_make_variables.rst
+++ b/doc/ref_make_variables.rst
@@ -308,6 +308,14 @@ Build Environment for all Stages
flags. Adding them via environment variables or ``make`` arguments can
have unexpected side effects, such as as overwriting existing defaults.
+``<PKG>_FLAGS_BLACKLIST``
+ A list of arbitrary flags. If any one of these flags is found as an
+ argument to the compiler, preprocessor or linker then the call will fail.
+ This is useful to prevent implicit dependencies: Many packages try to
+ link to libraries at configure time and use them if it works. Adding
+ '-l<lib>' to the blacklist makes it possible to prevent such a detection
+ and explicitly avoid the dependency.
+
``<PKG>_WRAPPER_BLACKLIST``
PTXdist has several options in the platformconfig that inject options in
the compiler command line. This is used, for example, to add hardening