rs6000.c (rs6000_override_options): Make -fpic and -fPIC equivalent on Darwin.

* config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
        -fPIC equivalent on Darwin.

From-SVN: r56848
This commit is contained in:
Stan Shebs 2002-09-05 16:25:49 +00:00 committed by Stan Shebs
parent fcfe9bce2d
commit c72bfda72e
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2002-09-05 Stan Shebs <shebs@apple.com>
* config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
-fPIC equivalent on Darwin.
Thu Sep 5 16:27:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
* sh.c (sh_expand_builtin): Return early if encountering an

View file

@ -602,6 +602,10 @@ rs6000_override_options (default_cpu)
}
#endif
/* For Darwin, always silently make -fpic and -fPIC identical. */
if (flag_pic == 1 && DEFAULT_ABI == ABI_DARWIN)
flag_pic = 2;
/* Set debug flags */
if (rs6000_debug_name)
{