Skip to content
Commit 3829cb5c authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

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: default avatarDaniel Leung <daniel.leung@intel.com>
parent aa2bdbe3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment