diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-09-15 08:05:49 -0700 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-09-15 08:05:49 -0700 |
commit | c2f3ec1defb49510afe42f934bd84f380e32f7a6 (patch) | |
tree | 79aa1f6dfaa0fec8455ab2c29e5c25a0009de13a /config | |
parent | e0f06d6258fc9d4988f4c15c12b24e9bc5203640 (diff) | |
parent | 9e905afb56a162882df2472d9537f72c82c83487 (diff) | |
download | crosstool-ng-c2f3ec1defb49510afe42f934bd84f380e32f7a6.tar.gz crosstool-ng-c2f3ec1defb49510afe42f934bd84f380e32f7a6.tar.bz2 crosstool-ng-c2f3ec1defb49510afe42f934bd84f380e32f7a6.zip |
Merge pull request #170 from jasmin-j/newlib_target_cflags
Newlib specific target cflags
Diffstat (limited to 'config')
-rw-r--r-- | config/libc/newlib.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/libc/newlib.in b/config/libc/newlib.in index f32e4b36..8351fab6 100644 --- a/config/libc/newlib.in +++ b/config/libc/newlib.in @@ -144,6 +144,20 @@ config LIBC_VERSION Enter the tag you want to use. Leave empty to use the 'head' of the repository. +config LIBC_NEWLIB_TARGET_CFLAGS + string + prompt "Target CFLAGS for newlib" + default "" + help + Used to add specific options when compiling the target libraries + (eg. -ffunction-sections -fdata-sections), which can't be defined + in global TARGET_CFLAGS, because they shall be not used for the + gcc target libraries. + Note: Both TARGET_CFLAGS and LIBC_NEWLIB_TARGET_CFLAGS are used + to compile the libraries. + + Leave blank if you don't know better. + comment "Architecture specific options" config ATMEL_AVR32_HEADERS |