diff options
| author | Simon J. Gerraty <sjg@FreeBSD.org> | 2023-04-14 23:56:30 +0000 |
|---|---|---|
| committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2023-04-14 23:56:30 +0000 |
| commit | 2b8331622f0b212cf3bb4fc4914a501e5321d506 (patch) | |
| tree | f23c28e9f918683e7088644aa8887bd1905d94fc /lib/libgcc_eh | |
| parent | dcc19c6701ea789ac109a132df032c61feacf9ea (diff) | |
Diffstat (limited to 'lib/libgcc_eh')
| -rw-r--r-- | lib/libgcc_eh/Makefile.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libgcc_eh/Makefile.inc b/lib/libgcc_eh/Makefile.inc index 08e5db419840..c48b15412c42 100644 --- a/lib/libgcc_eh/Makefile.inc +++ b/lib/libgcc_eh/Makefile.inc @@ -43,4 +43,10 @@ STATIC_CXXFLAGS+= -fvisibility=hidden -fPIC .if ${MK_DIRDEPS_BUILD} == "yes" # Avoid dependency on lib/libc++ CFLAGS+= -isystem ${SRCTOP}/contrib/llvm-project/libcxx/include -nostdinc++ + +# we need this for __config_site +CFLAGS+= -I${SRCTOP}/lib/libc++ +.if ${.MAKE.LEVEL} > 0 +GENDIRDEPS_FILTER+= Nlib/libc++ +.endif .endif |
