libchrome: Fix for building with asan.
Introduce USE_ASAN variable which should be set by libchrome ebuild.
Do not use the linker flags "-z,defs" when USE_ASAN is set since
it is not supported by address sanitizer.
TEST=libchrome builds with asan.
Commit-Ready: Manoj Gupta <email@example.com>
Tested-by: Manoj Gupta <firstname.lastname@example.org>
Reviewed-by: Luis Hector Chavez <email@example.com>
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
1 file changed