From 06834930632cc2997f3cea770fa7a8931f3fa5ed Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Tue, 8 Feb 2011 16:41:18 +0100 Subject: build-sys: make libatasmart easily cross-compilable Pick up the AX_CC_FOR_BUILD macro from autoconf-archive (improved, going to be sent there soon), then use that one to find the host's compiler. Build the strpool in a different directory, since you cannot override CC and other variables on a per-target basis yet. While this adds recursivity to the build system is the best hope you have to properly solve the cross-compilation. Update .gitignore accordingly to the above changes, and make sure bootstrap.sh search macro files in the m4 directory. --- .gitignore | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 46335b2..7630d9a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,8 @@ *~ -m4/ +m4/lt* +m4/libtool.m4 +strpool/strpool atasmart.strpool.c -strpool skdump sktest .deps/ -- cgit