diff options
author | Diego Elio Pettenò <flameeyes@gmail.com> | 2011-02-08 16:41:18 +0100 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gmail.com> | 2011-02-08 16:41:18 +0100 |
commit | 06834930632cc2997f3cea770fa7a8931f3fa5ed (patch) | |
tree | aa652041ccde43338539c151f0fe2afd053b07d5 /bootstrap.sh | |
parent | b7067704706b6dd72b00d14a17be213a06bea502 (diff) |
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.
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index 918814d..2bd8c1e 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -54,7 +54,7 @@ else mkdir -p m4 "$LIBTOOLIZE" -c --force - run_versioned aclocal "$VERSION" + run_versioned aclocal "$VERSION" -I m4 run_versioned autoconf 2.63 -Wall run_versioned autoheader 2.63 run_versioned automake "$VERSION" --copy --foreign --add-missing |