diff options
author | Gregor Richards <gregor.richards@uwaterloo.ca> | 2015-04-22 14:16:41 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2015-04-22 14:16:41 +0000 |
commit | 513686a6a7780225692162d9d5ae31c618c503e1 (patch) | |
tree | 7dc2b7d7f0eaecfa789b2f5b8f781e385c6dca7d /gcc/config/linux.opt | |
parent | 96ce40cbce449cb5f434425d148a9bcf02270c96 (diff) | |
download | gcc-513686a6a7780225692162d9d5ae31c618c503e1.zip gcc-513686a6a7780225692162d9d5ae31c618c503e1.tar.gz gcc-513686a6a7780225692162d9d5ae31c618c503e1.tar.bz2 |
config changes for musl libc support
On behalf of Szabolcs.Nagy@arm.com
2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
* config.gcc (LIBC_MUSL): New tm_defines macro.
* config/linux.h (OPTION_MUSL): Define.
(INCLUDE_DEFAULTS_MUSL_GPP, INCLUDE_DEFAULTS_MUSL_LOCAL,)
(INCLUDE_DEFAULTS_MUSL_PREFIX, INCLUDE_DEFAULTS_MUSL_CROSS,)
(INCLUDE_DEFAULTS_MUSL_TOOL, INCLUDE_DEFAULTS_MUSL_NATIVE): Define.
* config/linux.opt (mmusl): New option.
* configure.ac (gcc_cv_libc_provides_ssp): Add *-*-musl*.
(gcc_cv_target_dl_iterate_phdr): Add *-linux-musl*.
* configure: Regenerate.
From-SVN: r222326
Diffstat (limited to 'gcc/config/linux.opt')
-rw-r--r-- | gcc/config/linux.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/linux.opt b/gcc/config/linux.opt index c054338..9334f74 100644 --- a/gcc/config/linux.opt +++ b/gcc/config/linux.opt @@ -30,3 +30,7 @@ Use GNU C library muclibc Target Report RejectNegative Var(linux_libc,LIBC_UCLIBC) Negative(mbionic) Use uClibc C library + +mmusl +Target Report RejectNegative Var(linux_libc,LIBC_MUSL) Negative(mglibc) +Use musl C library |