X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fgettext;fp=stage1%2Fpkg%2Fgettext;h=afe372d1e397c70a38aae7ae40a632afca0289a6;hb=81da365042d1bf4354e0480d888fe3b8425c47c7;hp=7bcd57a0422168976e5c15b85c1d9342f221823a;hpb=0028eaa73ae0c3bd1dbf90c4bd508ae705bc386f;p=hvlinux.git diff --git a/stage1/pkg/gettext b/stage1/pkg/gettext index 7bcd57a..afe372d 100644 --- a/stage1/pkg/gettext +++ b/stage1/pkg/gettext @@ -1,10 +1,11 @@ #!/bin/bash -CONFIGURE_OPTS="\ - --prefix=/tools \ - --build=${CLFS_HOST} \ - --host=${CLFS_TARGET} \ - ${CONFIGURE_OPTS}" +hvconfig_pre() +{ + CONFIGURE_OPTS="\ + ${CONFIGURE_OPTS} \ + --disable-shared" +} # When cross-compiling the Gettext configure script assumes we don't have a # working wcwidth when we do. The following will fix possible compilation @@ -19,12 +20,7 @@ EOF hvconfig() { cd ${LFS_TMP}/${PACKAGE}/gettext-tools - - echo "Running configure with options:" - echo " <${CONFIGURE_OPTS}>" - - CC="${CC} ${CLFS_BUILDFLAGS}" CXX="${CXX} ${CLFS_BUILDFLAGS}" \ - ./configure ${CONFIGURE_OPTS} + ./configure ${CONFIGURE_OPTS} } hvbuild()