mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
tests: do not use global CFLAGS for fake token helper.
Dynamic librarties cannot be linked with sanitizers this way, just ignore CFLAGS here.
This commit is contained in:
@@ -46,8 +46,9 @@ endif
|
||||
ssh-test-plugin: fake_token_path.so
|
||||
systemd-tokens-test: fake_token_path.so fake_systemd_tpm_path.so
|
||||
|
||||
# Do not use global CFLAGS here as the *.so link does not support sanitizers
|
||||
fake_token_path.so:
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -I $(top_srcdir)/lib -fPIC -shared \
|
||||
$(CC) $(LDFLAGS) -I $(top_srcdir)/lib -fPIC -shared \
|
||||
-Wl,--version-script=$(top_srcdir)/lib/libcryptsetup.sym \
|
||||
-o fake_token_path.so $(top_srcdir)/tests/fake_token_path.c \
|
||||
-DBUILD_DIR=\"$(abs_top_srcdir)/.libs/\"
|
||||
|
||||
Reference in New Issue
Block a user