X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=stage1%2Fpkg%2Fflex;fp=stage1%2Fpkg%2Fflex;h=63c19d822b6132797172a5b491f0514f29df6c21;hb=81da365042d1bf4354e0480d888fe3b8425c47c7;hp=0d60fdcede4a25b168c1e62b028992a2223d6254;hpb=0028eaa73ae0c3bd1dbf90c4bd508ae705bc386f;p=hvlinux.git diff --git a/stage1/pkg/flex b/stage1/pkg/flex index 0d60fdc..63c19d8 100644 --- a/stage1/pkg/flex +++ b/stage1/pkg/flex @@ -1,5 +1,11 @@ #!/bin/bash +hvconfig_pre() +{ + # Make sure that Flex doesn't try to include headers from /usr/include. + sed -e "s/-I@includedir@//g" -i ${LFS_TMP}/${PACKAGE}/Makefile.in +} + # When Cross Compiling the configure script does not determine the correct # values for the following, Set the values manually: hvconfig_cache() @@ -9,9 +15,3 @@ ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes EOF } - -hvconfig_pre() -{ - # Make sure that Flex doesn't try to include headers from /usr/include. - sed -e "s/-I@includedir@//g" -i ${LFS_TMP}/${PACKAGE}/Makefile.in -}