Skip to content

Commit

Permalink
aws-iot-device-sdk-cpp-v2-samples-mqtt5-pubsub: disable sanitizer, as…
Browse files Browse the repository at this point in the history
… not needed.
  • Loading branch information
thomas-roos committed Jan 28, 2025
1 parent d42c986 commit 10da6ec
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,3 @@ do_install() {
INSANE_SKIP:${PN}-dbg += "buildpaths"

EXTRA_OECMAKE:append = " -DCMAKE_BUILD_TYPE=RelWithDebInfo"

PACKAGECONFIG:append:x86-64 = " ${@bb.utils.contains('PTEST_ENABLED', '1', 'sanitize', '', d)}"
# -fsanitize=address does cause this
# nooelint: oelint.vars.insaneskip:INSANE_SKIP
# INSANE_SKIP += "${@bb.utils.contains('PACKAGECONFIG', 'sanitize', 'buildpaths', '', d)}"

PACKAGECONFIG[sanitize] = ",, gcc-sanitizers"
OECMAKE_CXX_FLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'sanitize', '-fsanitize=address,undefined -fno-omit-frame-pointer', '', d)}"

0 comments on commit 10da6ec

Please sign in to comment.