RE: [Bluez-devel] Alignment issue

Marcel Holtmann
2004-08-12T13:36:27Z

Hi David,

> > is it worth to include such a patch and make it optional?
>
> Yes, I suspect it would. I'll have a look at it when I get a spare
> moment and offer you a patch.

I looked at the patches from the bluez-utils source RPM and actually I
can include optional PIE support for you. A simple patch for that is
easy and actually I already did that. From what I saw, this is a GCC 3.4
only feature and you give -pie at linking time and not at compile time
of the sources itself. Is this correct? What is the best way to detect
PIE support in the compiler?

And please don't do this

# Authentication and Encryption
- #auth enable;
- #encrypt enable;
+ auth enable;
+ encrypt enable;

in the bluez-utils-2.3-conf.patch. If you do that then you are going to
set your local device in security mode 3 and this is not what you want.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.