summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/build b/build
index a7eafd1..f861cd6 100755
--- a/build
+++ b/build
@@ -63,6 +63,12 @@ eglibc.configure.stamp: eglibc.setup.stamp
fi && \
BUILD_CC=gcc BUILD_CXX=g++ ../src/libc/configure \
--prefix=/usr \
+ --bindir=$(bindir) --sbindir=$(sbindir) \
+ --libexecdir=$(libexecdir) --sysconfdir=$(sysconfdir) \
+ --libdir=$(libdir) --includedir=$(includedir) \
+ --datarootdir=$(datarootdir) --datadir=$(datadir) \
+ --infodir=$(infodir) --localedir=$(localedir) \
+ --mandir=$(mandir) --docdir=$(docdir) \
--build=$${OH_BUILD_ARCH_GNU} --host=$${OH_HOST_ARCH_GNU} \
--disable-profile --enable-add-ons \
--enable-kernel=3.2.0 \
@@ -88,8 +94,10 @@ eglibc.install.stamp: eglibc.build.stamp
dest/usr/bin/makedb \
dest/usr/bin/pcprofiledump \
dest/usr/bin/xtrace
- rm dest/usr/lib/*_pic*
- cp -Rp src/libc/ChangeLog*
+ rm -Rf dest/usr/lib/*_pic*
+ mkdir -p dest/usr/share/doc/eglibc-doc && \
+ cp -Rp src/libc/ChangeLog* \
+ dest/usr/share/doc/eglibc-doc
mkdir -p dest/usr/share/doc/eglibc-doc/libidn && \
cp -Rp src/libc/libidn/ChangeLog* \
dest/usr/share/doc/eglibc-doc/libidn