07634f7279591eefbcb8e28b2dcc4fac66d45ace — Michael Forney 9 days ago f12ae43 master
Make debian-aarch64 build more robust to gcc version changes
1 files changed, 2 insertions(+), 1 deletions(-)

M .builds/debian-aarch64.yml
M .builds/debian-aarch64.yml => .builds/debian-aarch64.yml +2 -1
@@ 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