FreeBSD Bugzilla – Attachment 153631 Details for
Bug 198112
Fix www/mod_spdy build with clang 3.6.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Disable -Wunused-local-typedef for clang 3.6.0 and higher
www__mod_spdy-disable-unused-typedef-warning-1.diff (text/plain), 670 bytes, created by
Dimitry Andric
on 2015-02-28 23:38:37 UTC
(
hide
)
Description:
Disable -Wunused-local-typedef for clang 3.6.0 and higher
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-02-28 23:38:37 UTC
Size:
670 bytes
patch
obsolete
>Index: www/mod_spdy/Makefile >=================================================================== >--- www/mod_spdy/Makefile (revision 380162) >+++ www/mod_spdy/Makefile (working copy) >@@ -26,7 +26,7 @@ > ONLY_FOR_ARCHS= amd64 i386 > USE_OPENSSL= yes > USE_APACHE= 22 >-USES= gmake python:2 tar:xz >+USES= compiler gmake python:2 tar:xz > REINPLACE_ARGS= -i "" > > WRKSRC= ${WRKDIR}/${PORTNAME}_source_${PORTVERSION}/mod_spdy/src >@@ -83,6 +83,10 @@ > GYP_DEFINES+= buildtype=Official > .endif > >+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 36 >+CXXFLAGS+= -Wno-unused-local-typedef >+.endif >+ > CONFIGURE_ENV+= CC=${CC} \ > CXX=${CXX} \ > GYP_DEFINES="${GYP_DEFINES}"
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 198112
: 153631