forked from security/hakurei
internal/rosa: patch header search paths
This removes the need for reference CFLAGS in the standard toolchain. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -12,7 +12,7 @@ func (t Toolchain) NewZlib() pkg.Artifact {
|
||||
t.NewMake(),
|
||||
}, nil, nil, `
|
||||
cd "$(mktemp -d)"
|
||||
CFLAGS="${CFLAGS} -fPIC" /usr/src/zlib/configure \
|
||||
CC="clang -fPIC" /usr/src/zlib/configure \
|
||||
--prefix /system
|
||||
make "-j$(nproc)" test
|
||||
make DESTDIR=/work install
|
||||
|
||||
Reference in New Issue
Block a user