diff options
author | Geoffrey Keating <geoffk@apple.com> | 2005-03-02 20:33:45 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2005-03-02 20:33:45 +0000 |
commit | 0aca3a61454e79c3e103b878c5ea31dd2adc5421 (patch) | |
tree | a69f9ed9271d33bfd90debfe136db0e4daa7890c /gcc/config/darwin8.h | |
parent | 2af51b8831e89cbec17872e7ac4cb073aa1fb371 (diff) | |
download | gcc-0aca3a61454e79c3e103b878c5ea31dd2adc5421.zip gcc-0aca3a61454e79c3e103b878c5ea31dd2adc5421.tar.gz gcc-0aca3a61454e79c3e103b878c5ea31dd2adc5421.tar.bz2 |
* config/darwin8.h (LIB_SPEC): Switch -lmx and -lSystem.
From-SVN: r95805
Diffstat (limited to 'gcc/config/darwin8.h')
-rw-r--r-- | gcc/config/darwin8.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/config/darwin8.h b/gcc/config/darwin8.h index 6a061a4..639cb91 100644 --- a/gcc/config/darwin8.h +++ b/gcc/config/darwin8.h @@ -22,11 +22,13 @@ Boston, MA 02111-1307, USA. */ /* Darwin 7.0 and above have C99 functions. */ #define TARGET_C99_FUNCTIONS 1 -/* Machine dependent libraries. Include libmx when compiling on Darwin 7.0 - and above. Include libSystemStubs when compiling on 8.0 and above and - not 64-bit long double. */ +/* Machine dependent libraries. Include libmx when compiling on + Darwin 7.0 and above, but before libSystem, since the functions are + actually in libSystem but for 7.x compatibility we want them to be + looked for in libmx first. Include libSystemStubs when compiling + on 8.0 and above and not 64-bit long double. */ #undef LIB_SPEC #define LIB_SPEC "%{!static:\ %{!mlong-double-64:%{pg:-lSystemStubs_profile;:-lSystemStubs}} \ - -lSystem -lmx}" + -lmx -lSystem}" |