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

Re: New Package: fish

On Tue, 2005-06-28 at 01:33 +0200, Axel Liljencrantz wrote:

> On my machine neither -std=gnu99 or -fno-strict-aliasing is specified
> automatically, which results in spurious compilation warnings if they
> are removed from the Makefile. A few months ago fish would not even
> compile without gnu99, something about using a pid_t as a field in a
> struct triped up the compiler. Don't know if the compiler has been
> upgraded or if the source has changed since. How should the spec file
> specify that these options are needed by fish for proper compiling, if
> they are not hardcoded in the Makefile?

CFLAGS="$RPM_OPT_FLAGS -std=gnu99 -fno-strict-aliasing"

Tom "spot" Callaway: Red Hat Sales Engineer || GPG Fingerprint: 93054260
Fedora Extras Steering Committee Member (RPM Standards and Practices)
Aurora Linux Project Leader: http://auroralinux.org
Lemurs, llamas, and sparcs, oh my!

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