mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 21:17:55 +00:00
1411dffb6a
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.
22 lines
499 B
Plaintext
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)
|