VirtualBox

Changeset 97207 in vbox


Ignore:
Timestamp:
Oct 18, 2022 1:22:03 PM (2 years ago)
Author:
vboxsync
Message:

Config.kmk: Support ASAN on macOS when VBOX_WITH_GCC_SANITIZER or the asan build type is selected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r97088 r97207  
    29382938 if "$(KBUILD_TARGET)" == "linux"
    29392939VBOX_WITH_GCC_SANITIZER := 1
     2940 else if "$(KBUILD_TARGET)" == "darwin"
     2941VBOX_WITH_GCC_SANITIZER := 1
    29402942 else if "$(KBUILD_TARGET)" == "win"
    29412943VBOX_WITH_VCC_SANITIZER := 1
     
    29812983  VBOX_GCC_SANITIZER_LDFLAGS += -static-libasan
    29822984 else
    2983   VBOX_GCC_SANITIZER_LDFLAGS += -lasan
     2985  if "$(KBUILD_TARGET)" == "darwin"
     2986   VBOX_GCC_SANITIZER_LDFLAGS += -fsanitize=address
     2987  else
     2988   VBOX_GCC_SANITIZER_LDFLAGS += -lasan
     2989  endif
    29842990 endif
    29852991endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette