]> xenbits.xensource.com Git - people/royger/freebsd.git/commitdiff
Now that external gcc directly natively links to libc++ we can remove
authorbapt <bapt@FreeBSD.org>
Sat, 10 Dec 2016 18:29:39 +0000 (18:29 +0000)
committerbapt <bapt@FreeBSD.org>
Sat, 10 Dec 2016 18:29:39 +0000 (18:29 +0000)
the dirty hack made to fake libstdc++

Makefile.inc1
lib/libc++/Makefile

index a4a638cf0a1f522e20901bc7a6421f7594c935fd..aa71e6862e01dfc81aea87f0ca4ec76509cb3c5e 100644 (file)
@@ -591,7 +591,7 @@ XCFLAGS+=   -B${WORLDTMP}/usr/lib
 # XXX: This should be checking MK_GNUCXX == no
 .if ${X_COMPILER_VERSION} >= 40800
 XCXXFLAGS+=    -isystem ${WORLDTMP}/usr/include/c++/v1 -std=c++11 \
-               -nostdinc++ -L${WORLDTMP}/../lib/libc++
+               -nostdinc++
 .endif
 .elif ${WANT_COMPILER_TYPE} == clang || \
     (defined(X_COMPILER_TYPE) && ${X_COMPILER_TYPE} == clang)
index 1a506578289c381fefe2e78e720575785cf69bec..36471f055eb67f3fb0b7f24b6e86f2e7ab3957a7 100644 (file)
@@ -242,14 +242,4 @@ EXT+=              ${HDRDIR}/ext/${hdr}
 .endfor
 EXTDIR=                ${CXXINCLUDEDIR}/ext
 
-.if ${MK_GNUCXX} == "no" && ${COMPILER_TYPE} == "gcc"
-CLEANFILES+=   libstdc++.so libstdc++.a
-
-afterinstall:
-       ${INSTALL_SYMLINK} ${DESTDIR}${LIBDIR}/lib${LIB}.so \
-               ${.OBJDIR}/libstdc++.so
-       ${INSTALL_SYMLINK} ${DESTDIR}${LIBDIR}/lib${LIB}.a \
-               ${.OBJDIR}/libstdc++.a
-.endif
-
 .include <bsd.lib.mk>