svn commit: r357176 - projects/clang1000-import/lib/libc++

Dimitry Andric dim at FreeBSD.org
Mon Jan 27 19:18:37 UTC 2020


Author: dim
Date: Mon Jan 27 19:18:36 2020
New Revision: 357176
URL: https://svnweb.freebsd.org/changeset/base/357176

Log:
  Update build glue for libc++.

Modified:
  projects/clang1000-import/lib/libc++/Makefile

Modified: projects/clang1000-import/lib/libc++/Makefile
==============================================================================
--- projects/clang1000-import/lib/libc++/Makefile	Mon Jan 27 18:04:28 2020	(r357175)
+++ projects/clang1000-import/lib/libc++/Makefile	Mon Jan 27 19:18:36 2020	(r357176)
@@ -78,7 +78,9 @@ CFLAGS+=	-nostdinc++
 CFLAGS+=	-nostdlib
 CFLAGS+=	-D_LIBCPP_BUILDING_LIBRARY
 CFLAGS+=	-DLIBCXXRT
-CXXSTD?=	c++11
+CFLAGS+=	-ffunction-sections
+CFLAGS+=	-fdata-sections
+CXXSTD?=	c++14
 
 LIBADD+=	cxxrt
 INCSGROUPS=	STD EXP EXT


More information about the svn-src-projects mailing list