diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2019-10-06 04:19:49 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2019-10-06 04:19:49 +0000 |
commit | 036d2e814bf0f5d88ffb4b24c159320894541757 (patch) | |
tree | 1107835ecd57dbc4bc6a9b2bcefd87bc8a583d40 /lib/libc++/Makefile | |
parent | 29a5f63951c05accdd0a2bd54dc7351f04a74492 (diff) | |
download | src-036d2e814bf0f5d88ffb4b24c159320894541757.tar.gz src-036d2e814bf0f5d88ffb4b24c159320894541757.zip |
Re-add ALLOW_MIPS_SHARED_TEXTREL, sprinkle it around
Diff partially stolen from CheriBSD; these bits need -Wl,-z,notext in order
to build in an LLVM world. They are needed for all flavors/sizes of MIPS.
This will eventually get fixed in LLVM, but it's unclear when.
Reported by: arichardson, emaste
Differential Revision: https://reviews.freebsd.org/D21696
Notes
Notes:
svn path=/head/; revision=353140
Diffstat (limited to 'lib/libc++/Makefile')
-rw-r--r-- | lib/libc++/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc++/Makefile b/lib/libc++/Makefile index f8c8da4f2035..ed16e3837e37 100644 --- a/lib/libc++/Makefile +++ b/lib/libc++/Makefile @@ -11,6 +11,8 @@ CXXINCLUDEDIR= ${INCLUDEDIR}/c++/v${SHLIB_MAJOR} STATIC_CXXFLAGS+= -mlong-calls .endif +ALLOW_MIPS_SHARED_TEXTREL= + .PATH: ${SRCDIR} LIB= c++ |