diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-05-27 20:45:32 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-05-27 20:45:32 +0000 |
commit | 09210a281cf7155a1667450b6a9f8da37eeaed95 (patch) | |
tree | e86f0e554eb9150430ad81a03f17ee03b44d37f1 /lib | |
parent | 1e45d04b7b91bf3624d75d923407aad55cccf87c (diff) | |
download | src-09210a281cf7155a1667450b6a9f8da37eeaed95.tar.gz src-09210a281cf7155a1667450b6a9f8da37eeaed95.zip |
Notes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc++/Makefile | 2 | ||||
-rw-r--r-- | lib/libcxxrt/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc++/Makefile b/lib/libc++/Makefile index 984e70bebe87..5db093488d24 100644 --- a/lib/libc++/Makefile +++ b/lib/libc++/Makefile @@ -63,7 +63,7 @@ cxxrt_${_S}: ${_LIBCXXRTDIR}/${_S} .NOMETA .endfor WARNS= 0 -CFLAGS+= -I${HDRDIR} -I${_LIBCXXRTDIR} -nostdinc++ -nostdlib -DLIBCXXRT +CFLAGS+= -isystem ${HDRDIR} -isystem ${_LIBCXXRTDIR} -nostdinc++ -nostdlib -DLIBCXXRT .if empty(CXXFLAGS:M-std=*) CXXFLAGS+= -std=c++11 .endif diff --git a/lib/libcxxrt/Makefile b/lib/libcxxrt/Makefile index 15420a692b9f..f2efe8db541f 100644 --- a/lib/libcxxrt/Makefile +++ b/lib/libcxxrt/Makefile @@ -21,7 +21,7 @@ SRCS+= libelftc_dem_gnu3.c\ guard.cc WARNS= 0 -CFLAGS+= -I${SRCDIR} -nostdinc++ +CFLAGS+= -isystem ${SRCDIR} -nostdinc++ .if empty(CXXFLAGS:M-std=*) CXXFLAGS+= -std=c++11 .endif |