heads/modules/libuuid
Trammell Hudson 1411dffb6a
Make modules not depend on build path (issue #1).
Use --prefix="" to ensure that no destination paths are in libraries.

Use -fdebug-prefix-map to rewrite build path so that it does not
appear in the executables.

Use -gno-record-gcc-switches to ensure that the -fdebug-prefix-map
does not appear in the executables.
2017-01-28 13:14:56 -05:00

22 lines
569 B
Plaintext

modules += libuuid
libuuid_version := 1.0.3
libuuid_dir := libuuid-$(libuuid_version)
libuuid_tar := libuuid-$(libuuid_version).tar.gz
libuuid_url := http://downloads.sourceforge.net/project/libuuid/$(libuuid_tar)
libuuid_hash := 46af3275291091009ad7f1b899de3d0cea0252737550e7919d17237997db5644
libuuid_configure := ./configure \
CC="$(heads_cc)" \
--prefix "" \
--host i386-elf-linux \
libuuid_target := -j 8 && \
$(MAKE) \
-C "$(build)/$(libuuid_dir)" \
prefix="$(INSTALL)" \
install
libuuid_libraries := .libs/libuuid.so
libuuid_depends := $(musl_dep)