diff options
author | Jon Beniston <jon@beniston.com> | 2018-08-31 17:44:33 +0100 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2018-08-31 15:40:42 -0400 |
commit | a9cfb33b6c82a99e852a06de2127ffaea85bc212 (patch) | |
tree | ff82a3e0b59d37c6384357410587e74254152a48 /newlib/libc/machine/mn10300/configure | |
parent | fc3a8ecca5f4924079668f9f9615b4619e5dc810 (diff) | |
download | newlib-a9cfb33b6c82a99e852a06de2127ffaea85bc212.zip newlib-a9cfb33b6c82a99e852a06de2127ffaea85bc212.tar.gz newlib-a9cfb33b6c82a99e852a06de2127ffaea85bc212.tar.bz2 |
Add --disable-newlib-fno-builtin to allow compilation without -fno-builtin for smaller and faster code.newlib-snapshot-20180831
Diffstat (limited to 'newlib/libc/machine/mn10300/configure')
-rwxr-xr-x | newlib/libc/machine/mn10300/configure | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/newlib/libc/machine/mn10300/configure b/newlib/libc/machine/mn10300/configure index c7bac1f..2b8a77c 100755 --- a/newlib/libc/machine/mn10300/configure +++ b/newlib/libc/machine/mn10300/configure @@ -689,6 +689,7 @@ enable_newlib_iconv enable_newlib_elix_level enable_newlib_io_float enable_newlib_supplied_syscalls +enable_newlib_fno_builtin enable_dependency_tracking enable_maintainer_mode ' @@ -1325,6 +1326,7 @@ Optional Features: --enable-newlib-elix-level supply desired elix library level (1-4) --disable-newlib-io-float disable printf/scanf family float support --disable-newlib-supplied-syscalls disable newlib from supplying syscalls + --disable-newlib-fno-builtin disable -fno-builtin flag to allow compiler to use builtin library functions --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --enable-maintainer-mode enable make rules and dependencies not useful @@ -2489,6 +2491,18 @@ else fi +# Check whether --enable-newlib-fno-builtin was given. +if test "${enable_newlib_fno_builtin+set}" = set; then : + enableval=$enable_newlib_fno_builtin; case "${enableval}" in + yes) newlib_fno_builtin=yes ;; + no) newlib_fno_builtin=no ;; + *) as_fn_error $? "bad value ${enableval} for newlib-fno-builtin option" "$LINENO" 5 ;; + esac +else + newlib_fno_builtin= +fi + + test -z "${with_target_subdir}" && with_target_subdir=. @@ -3335,8 +3349,6 @@ fi . ${newlib_basedir}/configure.host -newlib_cflags="${newlib_cflags} -fno-builtin" - NEWLIB_CFLAGS=${newlib_cflags} |