Changeset 72091 in vbox
- Timestamp:
- May 3, 2018 12:53:03 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r72069 r72091 2920 2920 2921 2921 # The address sanitiser library intercepts dlopen() and breaks RPATH $ORIGIN, 2922 # so we need to link it statically. 2922 # so we need to link it statically or set LD_LIBRARY_PATH. To link statically, 2923 # set VBOX_WITH_GCC_SANITIZER_STATIC in addition. 2923 2924 ifdef VBOX_WITH_GCC_SANITIZER 2924 2925 VBOX_GCC_SANITIZER_FLAGS := \ … … 2930 2931 -fno-sanitize=alignment \ 2931 2932 -fno-sanitize=vptr \ 2932 -fno-common \ 2933 -static-libasan 2933 -fno-common 2934 2934 else 2935 2935 VBOX_GCC_SANITIZER_FLAGS = … … 2937 2937 2938 2938 # -libasan-static is currently not supported in combination with -no-undefined. 2939 VBOX_GCC_NO_UNDEFINED := 2940 VBOX_GCC_NO_UNDEFINED_R0 := 2939 2941 ifdef VBOX_WITH_GCC_SANITIZER 2940 VBOX_GCC_NO_UNDEFINED := 2941 VBOX_GCC_NO_UNDEFINED_R0 := 2942 else 2943 VBOX_GCC_NO_UNDEFINED := -Wl,--no-undefined 2944 VBOX_GCC_NO_UNDEFINED_R0 := -no-undefined 2942 ifdef VBOX_WITH_GCC_SANITIZER_STATIC 2943 VBOX_GCC_NO_UNDEFINED := -Wl,--no-undefined 2944 VBOX_GCC_NO_UNDEFINED_R0 := -no-undefined 2945 VBOX_GCC_SANITIZER_FLAGS += -static-libasan 2946 else 2947 VBOX_GCC_SANITIZER_FLAGS += -lasan 2948 endif 2945 2949 endif 2946 2950
Note:
See TracChangeset
for help on using the changeset viewer.