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