Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4071343c authored by Evgenii Stepanov's avatar Evgenii Stepanov Committed by android-build-merger
Browse files

Merge \\\"Only add libdl dependency for ASan/TSan on target.\\\" am: 3d8ee889 am: 2890414f

am: b4c79646

Change-Id: I52a6df13e8c4503be1ddbb0025d2ff632aad2288
parents 539fef83 b4c79646
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -126,9 +126,11 @@ ifneq ($(my_sanitize),)
      my_cflags += -fsanitize-trap=all
      my_cflags += -ftrap-function=abort
    endif
    ifneq ($(filter address thread,$(my_sanitize)),)
      my_shared_libraries += libdl
    endif
  endif
endif

# If local or global modules need ASAN, add linker flags.
ifneq ($(filter address,$(my_global_sanitize) $(my_sanitize)),)