From d9992f2b2d773c3d5f13a8473d17da7aab454ca0 Mon Sep 17 00:00:00 2001 From: "jim_nance%yahoo.com" Date: Sat, 20 May 2000 23:47:23 +0000 Subject: [PATCH] Code to help fix 39541. We now use the cxx compiler to generate shared libs containing cxx generated objects rather than calling /usr/bin/ld directly. r=cls@seawood.org a=brendan@meer.net --- configure | 4 ++-- configure.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 959326847ab4..cd42f98aee63 100755 --- a/configure +++ b/configure @@ -4465,8 +4465,8 @@ alpha*-*-osf*) DSO_LDOPTS='-shared -msym -expect_unresolved \* -soname $@' DSO_CFLAGS= DSO_PIC_CFLAGS= - MKSHLIB='-$(LD) $(DSO_LDOPTS) -o $@' - MKCSHLIB='-$(LD) $(DSO_LDOPTS) -o $@' + MKCSHLIB='$(CC) $(CFLAGS) $(DSO_LDOPTS) -o $@' + MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_LDOPTS) -o $@' MKSHLIB_FORCE_ALL='-all' MKSHLIB_UNFORCE_ALL='-none' cat >> confdefs.h <<\EOF diff --git a/configure.in b/configure.in index 524306f2c30b..65a319ebfaf6 100644 --- a/configure.in +++ b/configure.in @@ -831,8 +831,8 @@ alpha*-*-osf*) DSO_LDOPTS='-shared -msym -expect_unresolved \* -soname $@' DSO_CFLAGS= DSO_PIC_CFLAGS= - MKSHLIB='-$(LD) $(DSO_LDOPTS) -o $@' - MKCSHLIB='-$(LD) $(DSO_LDOPTS) -o $@' + MKCSHLIB='$(CC) $(CFLAGS) $(DSO_LDOPTS) -o $@' + MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_LDOPTS) -o $@' MKSHLIB_FORCE_ALL='-all' MKSHLIB_UNFORCE_ALL='-none' dnl Might fix the libxpcom.so breakage on this platform as well....