Changeset 13030 for inc

Show
Ignore:
Timestamp:
09/05/06 09:31:36 (2 years ago)
Author:
gaal
Message:

* fix 'make ghci' on colinux and possibly Windows. I hope this doesn't

break it elsewhere.

* noticed that assert_ghc in Module::Install::Pugs litters ghc_flags

with threading options coming from perl5, so I added a crutch to
filter those out via the environment (set PUGS_NO_THREADS). I don't
know if this should be moved to config.yml, or be made to use some
heuristic to just do the right thing automatically (if there is a
right thing here: can ghci work correctly when linked against a
threaded perl5?).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • inc/Module/Install/Pugs.pm

    r12938 r13030  
    347347} 
    348348 
     349# assert_ghc makes a call to EU::MM that litters ghc_flags 
     350# with threading options. 
     351sub dethread_flags { 
     352    my (undef, @args) = @_; 
     353    map { $_ = join ' ', grep { !/thread/i && $_ ne '-lc' } split ' ' } @args; 
     354} 
     355 
    3493561;