From: Vladimir Sokolovsky Date: Mon, 5 Nov 2007 12:47:17 +0000 (+0200) Subject: Fix ibutils installation on the SLES10 SP1 ppc64. X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=5d8dbb3cd269b411b8b24fac1a47dac1ff58a4eb;p=~aditr%2Fofed_scripts.git Fix ibutils installation on the SLES10 SP1 ppc64. Signed-off-by: Vladimir Sokolovsky --- diff --git a/install.pl b/install.pl index 8160c45..6193fbf 100755 --- a/install.pl +++ b/install.pl @@ -2470,7 +2470,7 @@ sub build_rpm if ($distro eq "SuSE" and $kernel_minor =~ m/[0-9]+/ and $kernel_minor >= 46) { # SLES 10 SP1 if ($parent eq "ibutils") { - $packages_info{'ibutils'}{'configure_options'} .= ' LDFLAGS="$ldflags -L/usr/lib/gcc/powerpc64-suse-linux/4.1.2/64"'; + $packages_info{'ibutils'}{'configure_options'} .= " LDFLAGS=-L/usr/lib/gcc/powerpc64-suse-linux/4.1.2/64"; $cmd .= " --define '__arch_install_post %{nil}'"; } } @@ -2523,6 +2523,7 @@ sub build_rpm $cmd .= " --define '_exec_prefix $prefix'"; $cmd .= " --define '_sysconfdir $sysconfdir'"; $cmd .= " --define '_usr $prefix'"; + $cmd .= " --define 'build_ibmgtsim 1'"; } elsif ( $parent eq "mvapich") { my $compiler = (split('_', $name))[1];