FreeBSD Bugzilla – Attachment 105560 Details for
Bug 146055
[PATCH] lang/gcc45: add optional support for LTO
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gcc-4.5.1.20100422_1.patch
gcc-4.5.1.20100422_1.patch (text/plain), 895 bytes, created by
Martin Matuska
on 2010-04-26 08:50:01 UTC
(
hide
)
Description:
gcc-4.5.1.20100422_1.patch
Filename:
MIME Type:
Creator:
Martin Matuska
Created:
2010-04-26 08:50:01 UTC
Size:
895 bytes
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/lang/gcc45/Makefile,v >retrieving revision 1.434 >diff -u -r1.434 Makefile >--- Makefile 24 Apr 2010 20:30:12 -0000 1.434 >+++ Makefile 26 Apr 2010 07:41:15 -0000 >@@ -8,6 +8,7 @@ > > PORTNAME= gcc > PORTVERSION= 4.5.1.20100422 >+PORTREVISION= 1 > CATEGORIES= lang java > MASTER_SITES= ${MASTER_SITE_GCC} > MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING} >@@ -43,8 +44,18 @@ > PATCH_WRKSRC= ${SRCDIR} > CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure > >+OPTIONS= LTO "Enable link-time optimization" off >+ > .include <bsd.port.pre.mk> > >+.if defined(WITH_LTO) >+LIB_DEPENDS+= elf.0:${PORTSDIR}/devel/libelf >+CONFIGURE_ARGS+= --with-libelf=${LOCALBASE} \ >+ --enable-lto=yes >+.else >+CONFIGURE_ARGS+= --enable-lto=no >+.endif >+ > .if ${ARCH} != i386 && ${ARCH} != amd64 > WITHOUT_JAVA= yes > .endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 146055
: 105560