Thank you ever so much. In past editions, the compiles included the default
CFLAGS followed by the ones I specified.

..Scott

On Wed, Jul 6, 2011 at 2:26 AM, Ralf Corsepius <rc040...@freenet.de> wrote:

> On 07/06/2011 01:54 AM, ScottLadd wrote:
>
>>
>>
>> I've been writing configure.ac scripts for a long time, and now,
>> unexpectedly, on a new Kubuntu 11.04 installation and on a Fedora 15
>> install, libtool not longer generates and installs shared objects. Same
>> scripts I've used before, different behavior.
>>
>
> I don't know if this had ever worked, but the culprit seems to be this part
> of your configure.ac:
>
> if test "x$gccopt" = "xyes"
> then
>    CFLAGS="-std=gnu99 -pedantic -Wall -Wno-format -lpthread -lrt -O2 -g0
> -march=native"
> else
>    CFLAGS="-std=gnu99 -pedantic -Wall -Wno-format -lpthread -lrt -g -O2
> -static"
> fi
>
>
> Besides this, this part overrides CFLAGS with hard-coded compiler- and
> system-specific CFLAGS - Not a good idea.
>
> Ralf
>
> ______________________________**_________________
> https://lists.gnu.org/mailman/**listinfo/libtool<https://lists.gnu.org/mailman/listinfo/libtool>
>
_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to