Change the default debug compilation options. 57/14957/4
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 4 Jul 2018 10:22:33 +0000 (12:22 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Wed, 4 Jul 2018 13:09:23 +0000 (15:09 +0200)
commit291aa4ef053ba7564759d3a0ba3c027e1ede0eff
treee18bd4db06acb5e5834afa03ccaa25bb9592e467
parent22a2cbfd2e36653c9de3b8a7a63e5f50f223419c
Change the default debug compilation options.

Because fortify source need optimization then the most
correct optimization to chose is -0g for debugging purpose.

Also be able to specify options for Clang which could differ
slightly from GNU.

Change-Id: I166c0cb62cbf9fc171cffc29c29df993f5ccb8f5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
cmake/cmake.d/01-build_options.cmake