httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-2.0/support apxs.in
Date Tue, 28 Sep 2004 13:09:37 GMT
jorton      2004/09/28 06:09:37

  Modified:    support  apxs.in
  Log:
  * support/apxs.in: Reset $opt so that -I, -D and -Wc,* options are not
  passed to the libtool link line.  For "-Wl,-foo" pass "-foo" on the
  link line regardless of whether gcc is used; without guessing whether
  libtool --mode=link will invoke gcc or some native ld the previous
  behaviour is not really correct.
  
  PR: 31448
  
  Revision  Changes    Path
  1.63      +2 -5      httpd-2.0/support/apxs.in
  
  Index: apxs.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/apxs.in,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -d -w -u -r1.62 -r1.63
  --- apxs.in	13 Aug 2004 09:38:11 -0000	1.62
  +++ apxs.in	28 Sep 2004 13:09:37 -0000	1.63
  @@ -418,12 +418,9 @@
           $lo .= " $o";
       }
       my ($opt_Wl, $opt_L, $opt_l);
  +    $opt = '';
       foreach $opt_Wl (@opt_W) {
  -        if ($CFG_CC !~ m/gcc$/) {
               $opt .= " $1" if ($opt_Wl =~ m|^\s*l,(.*)$|);
  -        } else {
  -            $opt .= " -W$opt_Wl";
  -        }
       }
       foreach $opt_L (@opt_L) {
           $opt .= " -L$opt_L";
  
  
  

Mime
View raw message