summaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
authorAllen Webb <allenwebb@google.com>2019-05-30 11:16:53 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-06-03 17:18:35 -0700
commit598f37043a434145c8afc26767689552499e8d50 (patch)
tree2fe842a8ec49965bf2aa9347a7f3809e1898c5a2 /include/system.h
parent0036edd5f4f4215a2a8ed3c13a6c82ad0fc1f39f (diff)
downloadchrome-ec-598f37043a434145c8afc26767689552499e8d50.tar.gz
printf: Add HIDE_EC_STDLIB and __stdlib_compat defines.
Fuzzing targets are linked against libec.a so that they can invoke ec functionality while depending on outside libraries that need cstdlib. An issue was being hit with a libprotobuf-mutator fuzzer target because protobuf needed the stdlib version of vfnprintf. This change resolves the issue by keeping the EC version of vfnprinf within libec.a. BRANCH=none BUG=chromium:962947 TEST=make -j buildall Change-Id: Ie0c79199dfba58d5fb04d9f340967a73921d09c8 Signed-off-by: Allen Webb <allenwebb@google.com> Reviewed-on: https://chromium-review.googlesource.com/1637580 Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'include/system.h')
0 files changed, 0 insertions, 0 deletions