mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-21 12:53:03 +00:00
ffa73128ea
The extra dependency of sefcontext_compile on its object file causes the compile and link step to be separated. During the link step the CFLAGS are not passed, which might contain optimization or sanitizer flags. Reorder the LDLIBS requirements to avoid the symbol 'pcre_fullinfo' being unresolvable at link time. Current behavior: gcc-11 **custom CFLAGS** -I../include -D_GNU_SOURCE -c -o sefcontext_compile.o sefcontext_compile.c gcc-11 -L../src sefcontext_compile.o ../src/regex.o -lselinux -lpcre ../src/libselinux.a -lsepol -o sefcontext_compile Changed: gcc-11 **custom CFLAGS** -I../include -D_GNU_SOURCE -L../src sefcontext_compile.c -lselinux ../src/libselinux.a -lpcre -lsepol -o sefcontext_compile Signed-off-by: Christian Göttsche <cgzones@googlemail.com> |
||
---|---|---|
.. | ||
.gitignore | ||
avcstat.c | ||
compute_av.c | ||
compute_create.c | ||
compute_member.c | ||
compute_relabel.c | ||
getconlist.c | ||
getdefaultcon.c | ||
getenforce.c | ||
getfilecon.c | ||
getpidcon.c | ||
getsebool.c | ||
getseuser.c | ||
Makefile | ||
matchpathcon.c | ||
policyvers.c | ||
sefcontext_compile.c | ||
selabel_digest.c | ||
selabel_get_digests_all_partial_matches.c | ||
selabel_lookup_best_match.c | ||
selabel_lookup.c | ||
selabel_partial_match.c | ||
selinux_check_access.c | ||
selinux_check_securetty_context.c | ||
selinuxenabled.c | ||
selinuxexeccon.c | ||
setenforce.c | ||
setfilecon.c | ||
togglesebool.c | ||
validatetrans.c |