aboutsummaryrefslogtreecommitdiff
path: root/.builds/debian-aarch64.yml
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-11-25 20:59:26 -0800
committerMichael Forney <mforney@mforney.org>2019-11-25 20:59:26 -0800
commit07634f7279591eefbcb8e28b2dcc4fac66d45ace (patch)
tree32570fbada54a3ada4fe705ac759e520c58a5328 /.builds/debian-aarch64.yml
parentf12ae432305a0cdef1bf46ce1617637eaaf72cbc (diff)
Make debian-aarch64 build more robust to gcc version changes
Diffstat (limited to '.builds/debian-aarch64.yml')
-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