diff options
| author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-05-27 23:03:44 +0000 |
|---|---|---|
| committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-05-27 23:03:44 +0000 |
| commit | ce00342bb2a88f771068f24162bbf820f01e6bf0 (patch) | |
| tree | 0cfea6e3ddff242088e35731cabddb495ceb3e37 /Makefile.libcompat | |
| parent | 47873c16d3c25ea1be4c426dafb013703a305e3f (diff) | |
Notes
Diffstat (limited to 'Makefile.libcompat')
| -rw-r--r-- | Makefile.libcompat | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat index c96623467408..08d684c5a203 100644 --- a/Makefile.libcompat +++ b/Makefile.libcompat @@ -72,13 +72,6 @@ LIBCOMPATCFLAGS+= ${LIBCOMPATCPUFLAGS} \ # -B is needed to find /usr/lib32/crti.o for GCC and /usr/libsoft/crti.o for # Clang/GCC. LIBCOMPATCFLAGS+= -B${LIBCOMPATTMP}/usr/lib${libcompat} -.if defined(X_COMPILER_TYPE) && ${X_COMPILER_TYPE} == gcc -# GCC requires -isystem when using a cross-compiler. -LIBCOMPATCFLAGS+= -isystem ${LIBCOMPATTMP}/usr/include -# Force using libc++ for external GCC. -LIBCOMPATCXXFLAGS+= -isystem ${LIBCOMPATTMP}/usr/include/c++/v1 -std=c++11 \ - -nostdinc++ -L${LIBCOMPAT_OBJTREE}${.CURDIR}/lib/libc++ -.endif # Yes, the flags are redundant. LIBCOMPATWMAKEENV+= MAKEOBJDIRPREFIX=${LIBCOMPAT_OBJTREE} \ |
