mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 18:17:09 +00:00
Merge Avoid blhc "CPPFLAGS missing" false positive
Similarly to apparmor/apparmor!403, we don't really need to pass these flags here, but if we don't, blhc raises a false positive, and I don't want to get used to ignoring blhc failures on Debian's GitLab CI. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1558 Approved-by: Alex Murray <alex.murray@canonical.com> Approved-by: Ryan Lee <rlee287@yahoo.com> Merged-by: Ryan Lee <rlee287@yahoo.com>
This commit is contained in:
commit
dbe13a0b9d
@ -375,7 +375,7 @@ tst_%: parser_%.c parser.h $(filter-out parser_%.o, ${TEST_OBJECTS})
|
|||||||
|
|
||||||
errnos.h:
|
errnos.h:
|
||||||
echo '#include <errno.h>' > dump.c
|
echo '#include <errno.h>' > dump.c
|
||||||
$(CC) -E -dD dump.c | awk '/^#define E/ { printf "{ \"%s\", %s },\n", $$2, $$2 }' > errnos.h
|
$(CC) $(CPPFLAGS) -E -dD dump.c | awk '/^#define E/ { printf "{ \"%s\", %s },\n", $$2, $$2 }' > errnos.h
|
||||||
rm -f dump.c
|
rm -f dump.c
|
||||||
|
|
||||||
.SILENT: check
|
.SILENT: check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user