X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fgettext;fp=stage1%2Fpkg%2Fgettext;h=7bcd57a0422168976e5c15b85c1d9342f221823a;hb=b5bfb2006502b57fab234345a2393fd04e6d55ad;hp=6bd0d9a222e323c0234aab6a62e2abcc7b4afbf6;hpb=3605ab38ca7604b1fe43c3bce5e4963730a85d39;p=hvlinux.git diff --git a/stage1/pkg/gettext b/stage1/pkg/gettext index 6bd0d9a..7bcd57a 100644 --- a/stage1/pkg/gettext +++ b/stage1/pkg/gettext @@ -1,5 +1,11 @@ #!/bin/bash +CONFIGURE_OPTS="\ + --prefix=/tools \ + --build=${CLFS_HOST} \ + --host=${CLFS_TARGET} \ + ${CONFIGURE_OPTS}" + # When cross-compiling the Gettext configure script assumes we don't have a # working wcwidth when we do. The following will fix possible compilation # errors because of this assumption: @@ -14,17 +20,11 @@ hvconfig() { cd ${LFS_TMP}/${PACKAGE}/gettext-tools - FINAL_CFG_OPTS="\ - --prefix=/tools \ - --build=${CLFS_HOST} \ - --host=${CLFS_TARGET} \ - ${CONFIGURE_OPTS}" - echo "Running configure with options:" - echo " <${FINAL_CFG_OPTS}>" + echo " <${CONFIGURE_OPTS}>" CC="${CC} ${CLFS_BUILDFLAGS}" CXX="${CXX} ${CLFS_BUILDFLAGS}" \ - ./configure ${FINAL_CFG_OPTS} + ./configure ${CONFIGURE_OPTS} } hvbuild()