CVS 20030513: remove CFLAGS munging from chapter 6 zlib-1.1.4

Ryan.Oliver at pha.com.au Ryan.Oliver at pha.com.au
Tue Jun 3 18:07:25 PDT 2003


> On June 3, 2003 06:20 pm, you wrote:
>> Joachim Schmeling pointed out a while back that -fPIC needs to be added
>> to CFLAGS to avoid the above issue. Some munging is required...
>
> In that case, are the current commands in the book good enough and
> should we just leave it alone?

Just ran a test, I recall now why I was munging CFLAGS, it was to set
optimisation to level 2 not 3...

Drop the CFLAGS munging, -fPIC is enabled and optimisation set by default
to -O3

>From generated Makefile without munging
CFLAGS=-fPIC -O3 -DHAVE_UNISTD_H -DUSE_MMAP

Ignore my previous posts, I'll get back in my box now ;-)

Regards
Ryan


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list