Date: Fri, 19 Sep 2008 14:40:03 GMT From: Pedro Giffuni <pfgshield-freebsd@yahoo.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/127490: devel/ptmalloc port doesn't apply the -fPIC flag Message-ID: <200809191440.m8JEe3wd088766@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/127490; it has been noted by GNATS. From: Pedro Giffuni <pfgshield-freebsd@yahoo.com> To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/127490: devel/ptmalloc port doesn't apply the -fPIC flag Date: Fri, 19 Sep 2008 07:34:12 -0700 (PDT) --0-203256971-1221834852=:8344 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hold the horses! The patch is not good because it will use -shared -fPIC in the static case = too, and that will slow down the library. The correct fix is to add USE_GMAKE=3D yes to the Makefile While here, I am attaching the patch for devel/ptmalloc2=0A=0A_____________= _____________________________________=0ADo You Yahoo!?=0APoco spazio e tant= o spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito pe= r i tuoi file e i messaggi =0Ahttp://mail.yahoo.it --0-203256971-1221834852=:8344 Content-Type: application/octet-stream; name=patch-ptmalloc2 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch-ptmalloc2" ZGlmZiAtcnVOIHB0bWFsbG9jMi5vcmlnL01ha2VmaWxlIHB0bWFsbG9jMi9N YWtlZmlsZQotLS0gcHRtYWxsb2MyLm9yaWcvTWFrZWZpbGUJMTk2OS0xMi0z MSAxOTowMDowMC4wMDAwMDAwMDAgLTA1MDAKKysrIHB0bWFsbG9jMi9NYWtl ZmlsZQkyMDA4LTA5LTE5IDA5OjI5OjEzLjAwMDAwMDAwMCAtMDUwMApAQCAt MCwwICsxLDM5IEBACisjIFBvcnRzIENvbGxlY3Rpb24gTWFrZWZpbGUgZm9y OglwdG1hbGxvYworIyBEYXRlIGNyZWF0ZWQ6CQkJCTEwIERlY2VtYmVyIDIw MDQKKyMgV2hvOgkJCQkJ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FsbG9jMi5vcmln L3BrZy1wbGlzdCBwdG1hbGxvYzIvcGtnLXBsaXN0Ci0tLSBwdG1hbGxvYzIu b3JpZy9wa2ctcGxpc3QJMTk2OS0xMi0zMSAxOTowMDowMC4wMDAwMDAwMDAg LTA1MDAKKysrIHB0bWFsbG9jMi9wa2ctcGxpc3QJMjAwOC0wOS0wNCAxNTo1 ODowMC4wMDAwMDAwMDAgLTA1MDAKQEAgLTAsMCArMSw1IEBACislJUlOQ0RJ UiUlL21hbGxvYy5oCitsaWIvbGlicHRtYWxsb2MyLmEKK2xpYi9saWJwdG1h bGxvYzIuc28KK2xpYi9saWJwdG1hbGxvYzIuc28uMAorQGRpcnJtICUlSU5D RElSJSUK --0-203256971-1221834852=:8344--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809191440.m8JEe3wd088766>