diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2004-01-16 18:52:54 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2004-01-16 18:52:54 +0000 |
commit | d8c8b456f45c773d0adac99f2997cbb0cab4c911 (patch) | |
tree | f4112b6f99e0b264701feba735e79a20bd6990c9 /libutil | |
parent | 338237994ac93ca58f6024ef0f7932ab770735d1 (diff) |
We need to link with libgcc.a when creating shared libs, in order to
avoid problems 'hidden symbol' problems. Also handle -lfloat for the
soft-float arm case.
Diffstat (limited to 'libutil')
-rw-r--r-- | libutil/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libutil/Makefile b/libutil/Makefile index 4f819e73e..a31f1ed8f 100644 --- a/libutil/Makefile +++ b/libutil/Makefile @@ -53,7 +53,7 @@ shared: all $(LD) $(LDFLAGS) -soname=$(LIBUTIL_SHARED).$(MAJOR_VERSION) \ -o $(LIBUTIL_SHARED_FULLNAME) --whole-archive $(LIBUTIL) \ --no-whole-archive $(TOPDIR)libc/misc/internals/interp.o \ - -L$(TOPDIR)lib -lc; + -L$(TOPDIR)lib -lc $(LDADD_LIBFLOAT) $(LIBGCC); $(INSTALL) -d $(TOPDIR)lib $(RM) $(TOPDIR)lib/$(LIBUTIL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBUTIL_SHARED).$(MAJOR_VERSION) $(INSTALL) -m 644 $(LIBUTIL_SHARED_FULLNAME) $(TOPDIR)lib |