apparmor: explain makefile fix
This commit is contained in:
parent
dc01881072
commit
20661f35a0
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,12 @@ if [ -z "$CROSS_BUILD" ]; then
|
|||
fi
|
||||
|
||||
post_patch() {
|
||||
# Make.rules feeds some system headers to the C preprocessor to produce
|
||||
# lists of capability and address-family names that, respectively,
|
||||
# populate `parser/cap_names.h` and `parser/af_names.h`. The escaping
|
||||
# backslash in the '\#include" directives here is seen by the
|
||||
# preprocessor, causing it to skip the system headers and produce empty
|
||||
# files. Removing the backslash ensures correct behavior.
|
||||
vsed -i ${wrksrc}/common/Make.rules -e 's/\\#include </#include </'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue