commit | 3829cb5c41b8fcc3ab1aca2ba61771508cd560df | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Thu Nov 01 09:45:54 2018 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Nov 01 16:30:02 2018 -0400 |
tree | 9b8aca4b28101cc63ef3e70ae8cd9c877ee6546d | |
parent | aa2bdbe3222068b773c8979244a6b789d12eb702 [diff] |
cmake: parameterized flags to not include standard defines/files Not all compiles/linkers support the GCC flags to not include standard defines, include files and libraries. So make these parameters such that the toolchain can define them when supported. Also, according to documentation, -nostdlib does the same for both -nostartfiles and -nodefaultlibs. So remove the redundant ones. Signed-off-by: Daniel Leung <daniel.leung@intel.com>