develooper Front page | perl.perl5.porters | Postings from July 2008

Re: [PATCH] Minor hints/linux.sh patch to allow setting -Doptimize

Thread Previous
From:
H.Merijn Brand
Date:
July 29, 2008 09:15
Subject:
Re: [PATCH] Minor hints/linux.sh patch to allow setting -Doptimize
Message ID:
20080729181538.508dbc74@pc09.procura.nl
On Tue, 29 Jul 2008 12:00:52 -0400 (EDT), Andrew Dougherty
<doughera@lafayette.edu> wrote:

> Hints files should allow command-line overrides, especially for things
> like -Doptimize.

Thanks, applied as change #34162

> diff -r -u perl-current/hints/linux.sh perl-andy/hints/linux.sh
> --- perl-current/hints/linux.sh	2008-05-17 10:31:36.000000000 -0400
> +++ perl-andy/hints/linux.sh	2008-07-29 09:54:20.000000000 -0400
> @@ -97,7 +97,7 @@
>      esac
>      ;;
>  *"Sun C"*)
> -    optimize='-xO2'
> +    test "$optimize" || optimize='-xO2'
>      cccdlflags='-KPIC'
>      lddlflags='-G -Bdynamic'
>      # Sun C doesn't support gcc attributes, but, in many cases, doesn't

-- 
H.Merijn Brand          Amsterdam Perl Mongers  http://amsterdam.pm.org/
using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, SuSE 10.1, 10.2, and 10.3, AIX 5.2, and Cygwin.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About