heads/modules/popt
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
499 B
Plaintext

modules += popt
popt_version := 1.16
popt_dir := popt-$(popt_version)
popt_tar := popt-$(popt_version).tar.gz
popt_url := http://rpm5.org/files/popt/$(popt_tar)
popt_hash := e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8
popt_configure := ./configure \
CC="$(heads_cc)" \
--prefix "" \
--host i386-elf-linux \
popt_target := -j 8 \
&& $(MAKE) \
-C "$(build)/$(popt_dir)" \
prefix="$(INSTALL)" \
install
popt_libraries := ./libs/libpopt.so
popt_depends := $(musl_dep)