diff options
Diffstat (limited to 'Configurations/shared-info.pl')
-rw-r--r-- | Configurations/shared-info.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Configurations/shared-info.pl b/Configurations/shared-info.pl index 2e2d28d95e..f9420785f2 100644 --- a/Configurations/shared-info.pl +++ b/Configurations/shared-info.pl @@ -33,7 +33,8 @@ my %shared_info; %{$shared_info{'gnu-shared'}}, shared_defflag => '-Wl,--version-script=', dso_ldflags => - (grep /(?:^|\s)-fsanitize/, @{$config{CFLAGS}}) + (grep /(?:^|\s)-fsanitize/, + @{$config{CFLAGS}}, @{$config{cflags}}) ? '' : '-z defs', }; |