• R
    fix Makefile so "make install" works before include/bits symlink exists · d66ab4f1
    Rich Felker 提交于
    previously, determination of the list of header files for installation
    depended on the include/bits symlink (to the arch-specific files)
    already having been created. in other words, running "make install"
    immediately after configure without first running "make" caused the
    bits headers not to be installed.
    
    the solution I have applied is to pull the list of headers directly
    from arch/$(ARCH)/bits rather than include/bits, and likewise to
    install directly from arch/$(ARCH)/bits rather than via the symlink.
    
    at this point, the only purpose served by keeping the symlink around
    is that it enables use of the in-tree headers and libs directly via -I
    and -L, which can be useful when testing against a new version of the
    library before installing it. on the other hand, removing the bits
    symlink would be beneficial if we ever want to support building
    multiple archs in the same source tree.
    d66ab4f1
Makefile 3.7 KB