nanohub: remove -fshort-double

-fshort-double has been removed from recent gcc versions
and is not supported by clang.

Removed flag
Define a new CHRE_LOG entry point to handle sizeof(double) == 8
and leave the old to handle old chre apps that were compiled with
sizeof(double) == 4.
Add builtins to handle float -> double conversion (using gcc's
caused crashes)
Removed -lgcc from apps (we shouldn't be pulling in any functions from
libgcc.a) and added -nostdlib flag

Bug: 28938849
Test: nanoapps build/chreLog %f works same as before
Change-Id: I72a91dcfdfc2b0eba3211ac719381fcb0a0ae7ed
Signed-off-by: Ben Fennema <[email protected]>
19 files changed
tree: af681e4ea8580f0454a944913431e29bf301d9d0
  1. contexthubhal/
  2. firmware/
  3. inc/
  4. lib/
  5. sensorhal/
  6. util/
  7. .gitignore