diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-11-26 02:09:49 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-11-26 02:09:49 +0000 |
commit | ed93e45cfe7121ddf078063803846a6e12925e1b (patch) | |
tree | d444b3b7929d1ba7b01687256a096c2e6e4fc187 | |
parent | 73840ba4d5d5d7c99d562104847665f0850389b0 (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.
-rw-r--r-- | Makefile | 15 | ||||
-rw-r--r-- | libm/Makefile | 3 |
2 files changed, 5 insertions, 13 deletions
@@ -175,18 +175,9 @@ install_dev: install -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)/lib/ install -d $(PREFIX)$(DEVEL_PREFIX)/usr/lib install -d $(PREFIX)$(DEVEL_PREFIX)/include - (cd $(PREFIX)$(DEVEL_PREFIX)/include; install -d arpa net netinet rpc sys asm bits linux) - install -m 644 include/*.h $(PREFIX)$(DEVEL_PREFIX)/include/ - install -m 644 include/arpa/*.h $(PREFIX)$(DEVEL_PREFIX)/include/arpa/ - install -m 644 include/net/*.h $(PREFIX)$(DEVEL_PREFIX)/include/net/ - install -m 644 include/netinet/*.h $(PREFIX)$(DEVEL_PREFIX)/include/netinet/ - install -m 644 include/rpc/*.h $(PREFIX)$(DEVEL_PREFIX)/include/rpc/ - install -m 644 include/sys/*.h $(PREFIX)$(DEVEL_PREFIX)/include/sys/ - install -m 644 include/asm/*.h $(PREFIX)$(DEVEL_PREFIX)/include/asm/ - install -m 644 include/bits/*.h $(PREFIX)$(DEVEL_PREFIX)/include/bits/ - install -m 644 include/linux/*.h $(PREFIX)$(DEVEL_PREFIX)/include/linux/ - #find include/ -name '*.h' -depth -follow -exec install \ - -D -m 644 {} $(PREFIX)$(DEVEL_PREFIX)/'{}' ';' + cp -LR include/ $(PREFIX)$(DEVEL_PREFIX)/ + chmod 755 `find $(PREFIX)$(DEVEL_PREFIX) -type d` + chmod 644 `find $(PREFIX)$(DEVEL_PREFIX)/include -name '*.h'` ifeq ($(strip $(HAVE_SHARED)),true) find lib/ -type l -name '*.so' -exec cp -a {} $(PREFIX)$(DEVEL_PREFIX)/lib ';' endif 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; \ |