summaryrefslogtreecommitdiff
path: root/libm/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-11-26 02:09:49 +0000
committerEric Andersen <andersen@codepoet.org>2001-11-26 02:09:49 +0000
commited93e45cfe7121ddf078063803846a6e12925e1b (patch)
treed444b3b7929d1ba7b01687256a096c2e6e4fc187 /libm/Makefile
parent73840ba4d5d5d7c99d562104847665f0850389b0 (diff)
My adjusted 'make install' was missing include/linux subdirs. Try
just using 'cp -a' and see if anyone complains and makes me use tar or something. Check libm for undefined non-libc symbols.
Diffstat (limited to 'libm/Makefile')
-rw-r--r--libm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libm/Makefile b/libm/Makefile
index 41159aced..209ebcb6c 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -81,7 +81,8 @@ $(LIBM): ar-target
shared: all
if [ -f $(LIBM) ] ; then \
$(TARGET_CC) $(TARGET_LDFLAGS) -nostdlib -shared -o $(LIBM_SHARED_FULLNAME) \
- -Wl,-soname,$(LIBM_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBM) -lc; \
+ -Wl,-soname,$(LIBM_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBM) \
+ -Wl,--no-undefined -Wl,--allow-shlib-undefined -lc; \
install -d $(TOPDIR)lib; \
rm -f $(TOPDIR)lib/$(LIBM_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBM_SHARED).$(MAJOR_VERSION); \
install -m 644 $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib; \