FreeBSD Bugzilla – Attachment 229684 Details for
Bug 260005
devel/wasi-libcxx: not built to spec and not really useable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
disable exceptions and fix more feature flags in wasi-libcxx
wasi-libcxx.diff (text/plain), 4.71 KB, created by
Christoph Moench-Tegeder
on 2021-11-23 21:02:24 UTC
(
hide
)
Description:
disable exceptions and fix more feature flags in wasi-libcxx
Filename:
MIME Type:
Creator:
Christoph Moench-Tegeder
Created:
2021-11-23 21:02:24 UTC
Size:
4.71 KB
patch
obsolete
>diff --git a/devel/wasi-libcxx/Makefile b/devel/wasi-libcxx/Makefile >index 5bd273616f9b..38d89abd200c 100644 >--- a/devel/wasi-libcxx/Makefile >+++ b/devel/wasi-libcxx/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= libcxx > DISTVERSION= 13.0.0 >+PORTREVISION= 1 > CATEGORIES= devel lang > MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \ > https://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR} >@@ -30,6 +31,9 @@ LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} > WASI_SYSROOT= ${LOCALBASE}/share/wasi-sysroot > WRKSRC= ${WRKDIR}/${DISTNAME}/libcxx > >+CONFIGURE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}" >+CONFIGURE_ENV+= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" >+ > CMAKE_INSTALL_PREFIX= ${PREFIX}/share/wasi-sysroot > CMAKE_ARGS= -DCMAKE_C_COMPILER_WORKS=1 \ > -DCMAKE_CXX_COMPILER_WORKS=1 \ >@@ -63,7 +67,76 @@ CMAKE_ARGS= -DCMAKE_C_COMPILER_WORKS=1 \ > -DLIBCXXABI_HAS_EXTERNAL_THREAD_API:BOOL=OFF \ > -DLIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY:BOOL=OFF \ > -DLIBCXXABI_HAS_WIN32_THREAD_API:BOOL=OFF \ >- -DLIBCXXABI_LIBCXX_INCLUDES=${CONFIGURE_WRKSRC}/include/c++/v1 >+ -DLIBCXXABI_LIBCXX_INCLUDES=${CONFIGURE_WRKSRC}/include/c++/v1 \ >+ -DLIBCXX_SUPPORTS_FNO_EXCEPTIONS_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_NOSTDLIBXX_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_NODEFAULTLIBS_FLAG:BOOL=ON \ >+ -DLIBCXX_HAS_COMMENT_LIB_PRAGMA:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_FALIGNED_ALLOCATION_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_NOSTDINCXX_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_FVISIBILITY_EQ_HIDDEN_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_WALL_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_WEXTRA_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_W_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_WWRITE_STRINGS_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_WNO_UNUSED_PARAMETER_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_WNO_LONG_LONG_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_WEXTRA_SEMI_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_WUNDEF_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_WNO_USER_DEFINED_LITERALS_FLAG:BOOL=ON \ >+ -DLIBCXX_SUPPORTS_W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CXXABI_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WEXTRA_SEMI_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WUNDEF_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WNO_USER_DEFINED_LITERALS_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WNO_COVERED_SWITCH_DEFAULT_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WNO_SUGGEST_OVERRIDE_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WNO_IGNORED_ATTRIBUTES_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WNO_ERROR_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_EHS_FLAG:BOOL=OFF \ >+ -DLIBCXXABI_SUPPORTS_EHA_FLAG:BOOL=OFF \ >+ -DLIBCXXABI_SUPPORTS_ZL_FLAG:BOOL=OFF \ >+ -DLIBCXXABI_SUPPORTS_NODEFAULTLIB_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WCHAR_SUBSCRIPTS_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WCONVERSION_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WMISMATCHED_TAGS_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WMISSING_BRACES_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WNEWLINE_EOF_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WUNUSED_FUNCTION_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WSHADOW_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WSHORTEN_64_TO_32_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WSIGN_COMPARE_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WSIGN_CONVERSION_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WSTRICT_ALIASING_EQ_2_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WSTRICT_OVERFLOW_EQ_4_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WUNUSED_PARAMETER_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WUNUSED_VARIABLE_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_WX_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_PEDANTIC_FLAG:BOOL=ON \ >+ -DLIBCXXABI_SUPPORTS_FSTRICT_ALIASING_FLAG:BOOL=ON > > post-extract: > @${MKDIR} ${WRKDIR}/.build_cxxabi
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 260005
: 229684