mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-20 17:22:53 +00:00
use cross compiler ar (issue #166)
This commit is contained in:
parent
2b0b6f33c0
commit
9fb1f247ad
10
modules/musl
10
modules/musl
@ -16,17 +16,19 @@ musl_output := ../../install/bin/musl-gcc
|
||||
# That works, with some hacks...
|
||||
#
|
||||
musl_configure := ./configure \
|
||||
CC="$(CROSS)gcc" \
|
||||
--prefix="$(INSTALL)" \
|
||||
--syslibdir="/lib" \
|
||||
--enable-gcc-wrapper \
|
||||
--enable-shared \
|
||||
CC=$(pwd)/crossgcc/x86_64-linux-musl/bin/x86_64-musl-linux-gcc
|
||||
|
||||
musl_target := \
|
||||
$(MAKE_JOBS) \
|
||||
AR="$(CROSS)ar" \
|
||||
install \
|
||||
|
||||
musl_libraries := \
|
||||
lib/libc.so \
|
||||
|
||||
|
||||
musl_target := $(MAKE_JOBS) install
|
||||
#musl_target := install
|
||||
|
||||
musl_depends := kernel-headers musl-cross
|
||||
|
@ -8,6 +8,7 @@ zlib_hash := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
||||
|
||||
zlib_configure := \
|
||||
CC="$(heads_cc)" \
|
||||
AR="$(CROSS)ar" \
|
||||
./configure \
|
||||
--prefix="/" \
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user