Added needed chmod'ing to fix stage1
I'm pretty sure this is the minimal set of files to make things work, but feel free to experiment. We still need to figure out why I'm the only one this failed for, and write some tests. I suspect it may be that I had to run as root, due to lix not allowing the `--system` argument when run by an ordinary user. I don't think we, uh, have a test framework yet, so I'm leaving that for another CL...
This commit is contained in:
parent
47707c015d
commit
ec6ba87775
4 changed files with 12 additions and 0 deletions
|
|
@ -61,6 +61,8 @@ in
|
|||
rm gawk.tar
|
||||
cd gawk-${cfg.version}
|
||||
|
||||
chmod 0644 awk.h
|
||||
|
||||
# Patch
|
||||
${lib.strings.concatMapSep "\n" (file: "patch -Np0 -i ${file}") patches}
|
||||
|
||||
|
|
|
|||
|
|
@ -56,6 +56,10 @@ in
|
|||
rm tar.tar
|
||||
cd tar-${cfg.version}
|
||||
|
||||
chmod 0755 src intl
|
||||
chmod 0644 src/* intl/*
|
||||
chmod 0755 missing mkinstalldirs install-sh
|
||||
|
||||
# Configure
|
||||
export CC="tcc -B ${stage1.tinycc.mes.libs.package}/lib"
|
||||
chmod 0755 missing
|
||||
|
|
|
|||
|
|
@ -53,6 +53,10 @@ in
|
|||
rm tar.tar
|
||||
cd tar-${cfg.version}
|
||||
|
||||
chmod 0755 src intl
|
||||
chmod 0644 src/* intl/*
|
||||
chmod 0755 missing mkinstalldirs install-sh
|
||||
|
||||
# Configure
|
||||
export CC="tcc -B ${stage1.tinycc.musl.libs.package}/lib"
|
||||
export LD=tcc
|
||||
|
|
|
|||
|
|
@ -81,6 +81,8 @@ in
|
|||
rm gzip.tar
|
||||
cd gzip-${cfg.version}
|
||||
|
||||
chmod 0644 gzip.c
|
||||
|
||||
# Configure
|
||||
export CC="tcc -B ${stage1.tinycc.mes.libs.package}/lib -Dstrlwr=unused"
|
||||
bash ./configure --prefix=$out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue