From 69e88ea269f3d939af32621246c933182191b9df Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Tue, 6 Nov 2007 18:12:05 +0200 Subject: [PATCH] Override compilation flags for rds-tools and sdpnetstat on RHEL 4.0 and 5.0 PPC64. Signed-off-by: Vladimir Sokolovsky --- install.pl | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/install.pl b/install.pl index 344213a..f14a23b 100755 --- a/install.pl +++ b/install.pl @@ -2478,12 +2478,13 @@ sub build_rpm } else { if ($parent eq "sdpnetstat" or $parent eq "rds-tools") { - $ldflags .= " -g -O2"; - $cflags .= " -g -O2"; - $cppflags .= " -g -O2"; - $cxxflags .= " -g -O2"; - $fflags .= " -g -O2"; - $ldlibs .= " -g -O2"; + # Override compilation flags on RHEL 4.0 and 5.0 PPC64 + $ldflags = " -g -O2"; + $cflags = " -g -O2"; + $cppflags = " -g -O2"; + $cxxflags = " -g -O2"; + $fflags = " -g -O2"; + $ldlibs = " -g -O2"; } else { $ldflags .= " $optflags -m64 -g -O2 -L/usr/lib64"; -- 2.46.0