Skip to content

Commit

Permalink
Update config.guess when building xproto
Browse files Browse the repository at this point in the history
This will fix build failures on non-x86 architectures (such as ppc64le). This
should likely fix the issue mentioned in
chef/omnibus-toolchain#204.

I ran into this trying to build omnibus-toolchain with Ubuntu on ppc64le.

Signed-off-by: Lance Albertson <lance@osuosl.org>
  • Loading branch information
ramereth committed Oct 17, 2023
1 parent e3e8437 commit efdc553
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/software/xproto.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
name "xproto"
default_version "7.0.31"

dependency "config_guess"

# version_list: url=https://www.x.org/releases/individual/proto/ filter=xproto-*.tar.gz

version("7.0.31") { source sha256: "6d755eaae27b45c5cc75529a12855fed5de5969b367ed05003944cf901ed43c7" }
Expand All @@ -35,6 +37,8 @@
build do
env = with_standard_compiler_flags(with_embedded_path)

update_config_guess

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

Expand Down

0 comments on commit efdc553

Please sign in to comment.