Skip to content

Commit

Permalink
Bring in the patch from LFS that Habitat was carrying.
Browse files Browse the repository at this point in the history
This is a straight copy of the Habitat core plan patch to make:
https://bldr.habitat.sh/#/pkgs/core/make/4.2.1/20190115013626

Fixes #1070

Signed-off-by: Matt Ray <[email protected]>
  • Loading branch information
mattray committed Jul 26, 2019
1 parent 501b5e5 commit e23c93f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/software/make.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
build do
env = with_standard_compiler_flags(with_embedded_path)

# Work around an error caused by Glibc 2.27
#
# Thanks to: http://www.linuxfromscratch.org/lfs/view/8.2/chapter05/make.html
command "sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c", env: env

command "./configure" \
" --disable-nls" \
" --prefix=#{install_dir}/embedded", env: env
Expand Down

0 comments on commit e23c93f

Please sign in to comment.