bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Flags that need special handling.


From: Ake Sandgren
Subject: Flags that need special handling.
Date: Thu, 18 Mar 2010 15:55:11 +0100

Hi!

When using the PathScale compiler and certain flags that are needed both
at compile and link time libtool is stripping them out from the link
command.

The flags found so far are; -ipa, -Ofast and -IPA*

I think those need to be added to the list in func_mode_link which
contains;
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*
etc.

I.e. they need to end up in the compiler_flags used to build the command
for shared libraries.

As an example one can try this with libfftw.
Set CFLAGS/CXXFLAGFS/FFLAGS/LDFLAGS=-ipa
run configure and make and see that -ipa does not show up on the libtool
command used to build the shared libraries.

-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: address@hidden   Phone: +46 90 7866134 Fax: +46 90 7866126
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se





reply via email to

[Prev in Thread] Current Thread [Next in Thread]