[csw-devel] SF.net SVN: gar:[16254] csw/mgar/pkg/libjpeg62/trunk/Makefile
Peter Bonivart
bonivart at opencsw.org
Thu Nov 24 17:47:54 CET 2011
On Thu, Nov 24, 2011 at 5:41 PM, <dmichelsen at users.sourceforge.net> wrote:
> +# Ok, here comes a good one: a dynamic library is only generated when warnings are suppressed.
> +# This is because in ltconfig the test to look if -KPIC actually works detects if there are
> +# any warnings printed because some braindead compilers generate an .o even though -KPIC is
> +# ignored. As the test tries to compile an empty file Sun Studio just prints a warning line
> +# leading to disabling of the detection. Turning warnings off therefore leads to turning
> +# shared libs on.
> +EXTRA_CFLAGS += -w
:)
More information about the devel
mailing list