We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4dec40 commit 95014f5Copy full SHA for 95014f5
Configure.pl
@@ -327,7 +327,7 @@ ($$)
327
$config{ldlibs} = join ' ',
328
(map { sprintf $config{ldusr}, $_; } @{$config{usrlibs}}),
329
(map { sprintf $config{ldsys}, $_; } @{$config{syslibs}});
330
-$config{ldlibs} = ' -lasan ' . $config{ldlibs} if $args{asan} and $^O ne 'darwin';
+$config{ldlibs} = ' -lasan ' . $config{ldlibs} if $args{asan} && $^O ne 'darwin' && $config{cc} ne 'clang';
331
$config{ldlibs} = ' -lubsan ' . $config{ldlibs} if $args{ubsan} and $^O ne 'darwin';
332
# macro defs
333
$config{ccdefflags} = join ' ', map { $config{ccdef} . $_ } @{$config{defs}};
0 commit comments