diff --git a/config/software/make.rb b/config/software/make.rb index cbe23a177..bd7bcf5e2 100644 --- a/config/software/make.rb +++ b/config/software/make.rb @@ -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