[llvm-commits] CVS: llvm/configure
John Criswell
criswell at cs.uiuc.edu
Mon Jul 14 11:33:12 PDT 2003
Changes in directory llvm:
configure updated: 1.5.2.1 -> 1.5.2.2
---
Log message:
Updated configure with the new macros in aclocal.m4 that tell libtool to
use the -G option when linking on Solaris.
---
Diffs of the changes:
Index: llvm/configure
diff -u llvm/configure:1.5.2.1 llvm/configure:1.5.2.2
--- llvm/configure:1.5.2.1 Mon Jul 14 10:42:37 2003
+++ llvm/configure Mon Jul 14 11:31:51 2003
@@ -9486,14 +9486,14 @@
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
if $CC --version | grep -v '^2\.7' > /dev/null; then
- archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+ archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
+ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
# Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when
# linking a shared library.
- output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
+ output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
else
# g++ 2.7 appears to require `-G' NOT `-shared' on this
# platform.
More information about the llvm-commits
mailing list