diff options
-rw-r--r-- | .builds/alpine-aarch64.yml | 9 | ||||
-rw-r--r-- | .builds/debian-aarch64.yml | 9 |
2 files changed, 4 insertions, 14 deletions
diff --git a/.builds/alpine-aarch64.yml b/.builds/alpine-aarch64.yml index 4045992..716573e 100644 --- a/.builds/alpine-aarch64.yml +++ b/.builds/alpine-aarch64.yml @@ -12,13 +12,8 @@ tasks: tar --warning=no-unknown-keyword -xzf aarch64-linux-musl-cross.tgz - build: | PATH=$HOME/qbe:$HOME/aarch64-linux-musl-cross/bin:$PATH - cd qbe - cat >config.h <<EOF - #define Defasm Gaself - #define Deftgt T_arm64 - EOF - make - cd ../cproc + make -C qbe + cd cproc ./configure \ --target=aarch64-linux-musl \ --with-ldso="$HOME/aarch64-linux-musl-cross/aarch64-linux-musl/lib/libc.so" diff --git a/.builds/debian-aarch64.yml b/.builds/debian-aarch64.yml index 4de7e85..b341221 100644 --- a/.builds/debian-aarch64.yml +++ b/.builds/debian-aarch64.yml @@ -10,13 +10,8 @@ sources: tasks: - build: | PATH=$HOME/qbe:$PATH - cd qbe - cat >config.h <<EOF - #define Defasm Gaself - #define Deftgt T_arm64 - EOF - make - cd ../cproc + make -C qbe + cd cproc crtbegin=$(aarch64-linux-gnu-gcc -print-file-name=crtbegin.o) ./configure \ --target=aarch64-linux-gnu \ |