diff options
author | Geoffrey Keating <geoffk@apple.com> | 2007-03-08 19:56:37 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2007-03-08 19:56:37 +0000 |
commit | d2328a13136009623fdf98d86bfdce88835588c7 (patch) | |
tree | e6b918a2bc12fd02e164aa9d987ffd5fe96f6a4e /gcc/gccspec.c | |
parent | ebb07520cddaa13da40dbd6775c5ff3f1b22494c (diff) | |
download | gcc-d2328a13136009623fdf98d86bfdce88835588c7.zip gcc-d2328a13136009623fdf98d86bfdce88835588c7.tar.gz gcc-d2328a13136009623fdf98d86bfdce88835588c7.tar.bz2 |
re PR objc/31013 (objc PCH is broken on powerpc-darwin again)
PR 31013
* gccspec.c (lang_specific_driver): Do nothing when NEXT_OBJC_RUNTIME
is declared.
* config/darwin.h (REAL_LIBGCC_SPEC): When -fgnu-runtime is
passed, use shared libgcc.
From-SVN: r122709
Diffstat (limited to 'gcc/gccspec.c')
-rw-r--r-- | gcc/gccspec.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/gccspec.c b/gcc/gccspec.c index 39b90d9..242e198 100644 --- a/gcc/gccspec.c +++ b/gcc/gccspec.c @@ -30,7 +30,10 @@ lang_specific_driver (int *in_argc ATTRIBUTE_UNUSED, const char *const **in_argv ATTRIBUTE_UNUSED, int *in_added_libraries ATTRIBUTE_UNUSED) { -#ifdef ENABLE_SHARED_LIBGCC + /* Systems which use the NeXT runtime by default should arrange + for the shared libgcc to be used when -fgnu-runtime is passed + through specs. */ +#if defined(ENABLE_SHARED_LIBGCC) && ! defined(NEXT_OBJC_RUNTIME) int i; /* The new argument list will be contained in this. */ |