diff options
author | wtchang%redhat.com <devnull@localhost> | 2005-08-04 02:04:39 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2005-08-04 02:04:39 +0000 |
commit | 5546e2755ba77acd40b3dc126e343b1726fa0fc5 (patch) | |
tree | 01c99010a686d15d8163c9ad50449266c4f095e6 | |
parent | a1d3ae19d32b1f3ce88cbd230fd1d2a62610aa68 (diff) | |
download | nspr-hg-5546e2755ba77acd40b3dc126e343b1726fa0fc5.tar.gz |
Bugzilla Bug 303169: worked around a link error with gcc on Solaris SPARC
in debug builds. os_SunOS.s is only used by the _PR_GLOBAL_THREADS_ONLY
configuration, so we don't use it in the default (pthreads) configuration.
r=jpierre.
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | configure.in | 6 |
2 files changed, 8 insertions, 4 deletions
@@ -5637,9 +5637,11 @@ EOF PR_MD_ASFILES=os_SunOS_x86.s fi else - PR_MD_ASFILES=os_SunOS.s if test -n "$USE_64"; then - PR_MD_ASFILES="$PR_MD_ASFILES os_SunOS_sparcv9.s" + PR_MD_ASFILES=os_SunOS_sparcv9.s + fi + if test -n "$USE_NATIVE_THREADS"; then + PR_MD_ASFILES="$PR_MD_ASFILES os_SunOS.s" fi fi fi diff --git a/configure.in b/configure.in index a0a52264..b085ff5e 100644 --- a/configure.in +++ b/configure.in @@ -2493,9 +2493,11 @@ case "$target" in PR_MD_ASFILES=os_SunOS_x86.s fi else - PR_MD_ASFILES=os_SunOS.s if test -n "$USE_64"; then - PR_MD_ASFILES="$PR_MD_ASFILES os_SunOS_sparcv9.s" + PR_MD_ASFILES=os_SunOS_sparcv9.s + fi + if test -n "$USE_NATIVE_THREADS"; then + PR_MD_ASFILES="$PR_MD_ASFILES os_SunOS.s" fi fi fi |