aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.builds/debian-aarch64.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.builds/debian-aarch64.yml b/.builds/debian-aarch64.yml
index 5df4865..3c134ad 100644
--- a/.builds/debian-aarch64.yml
+++ b/.builds/debian-aarch64.yml
@@ -15,10 +15,11 @@ tasks:
EOF
make
cd ../cproc
+ crtbegin=$(aarch64-linux-gnu-gcc -print-file-name=crtbegin.o)
./configure \
--target=aarch64-linux-gnu \
--with-ldso=/usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 \
- --with-gcc-libdir=/usr/lib/gcc-cross/aarch64-linux-gnu/8
+ --with-gcc-libdir="${crtbegin%/*}"
make all check
make bootstrap LDFLAGS='-Wl,-rpath,/usr/aarch64-linux-gnu/lib'
file stage2/cproc stage2/cproc-qbe