aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Ferrell <major@homeonderanged.org>2014-06-27 14:45:00 -0700
committerMark Ferrell <major@homeonderanged.org>2014-06-27 14:45:00 -0700
commit89a1f00d026d18698fc0c909a42a799b30c6e6fc (patch)
treee417e9a6af2bf92554ca4fc9c27c627346bf81c3
parent52520d9246fd5e09aa2d4c367db1da9c839b87e1 (diff)
Default to --with-sysroot in build_compile()
-rwxr-xr-xlibexec/build-make-compile8
1 files changed, 6 insertions, 2 deletions
diff --git a/libexec/build-make-compile b/libexec/build-make-compile
index 5cbb743..2b344e7 100755
--- a/libexec/build-make-compile
+++ b/libexec/build-make-compile
@@ -16,9 +16,13 @@ build_compile()
{
if [ -f "configure" ]; then
./configure --host="${CHOST}" \
- --prefix="/usr" --mandir=/usr/share/man \
- --docdir=/usr/share/doc \
+ --prefix=/usr \
--sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --docdir=/usr/share/doc \
+ --disable-dependency-tracking \
+ --with-sysroot="${SYSROOT}" \
+ --with-libtool-sysroot="${SYSROOT}" \
${CONFIG_OPTS}
fi