2008/6/6 Mark Brown <[EMAIL PROTECTED]>:
> On Fri, Jun 06, 2008 at 06:53:31PM +0300, Marko Lindqvist wrote:
>
>> - SFLAGS="${CFLAGS-"-O3"} -fPIC"
>> + SFLAGS="${CFLAGS-"-O3"}"
>> +
>> + if ! $CC -c $CFLAGS -fPIC $test.c 2>&1 |
>> + grep "all code is position independent" >/dev/null
>> + t
On Fri, Jun 06, 2008 at 06:53:31PM +0300, Marko Lindqvist wrote:
> - SFLAGS="${CFLAGS-"-O3"} -fPIC"
> + SFLAGS="${CFLAGS-"-O3"}"
> +
> + if ! $CC -c $CFLAGS -fPIC $test.c 2>&1 |
> + grep "all code is position independent" >/dev/null
> + then
> +SFLAGS="$SFLAGS -fPIC"
> + fi
This pa
Package: zlib1g
Version: 1:1.2.3.3.dfsg-12
zlib1g configure checks assume that compile fails if compiler outputs
anything, assuming it is always error message. (This is ugly, and one
may want to fix it properly.)
Compiler always gets "-fPIC", and when compiling for certain
platforms (I encounte
3 matches
Mail list logo