Page MenuHomeFreeBSD

D5019.1794031904.diff
No OneTemporary

Authored By
Unknown
Size
557 B
Referenced Files
None
Subscribers
None

D5019.1794031904.diff

Index: head/gnu/lib/libgcc/Makefile
===================================================================
--- head/gnu/lib/libgcc/Makefile
+++ head/gnu/lib/libgcc/Makefile
@@ -193,7 +193,12 @@
.endif
COMMONHDRS= tm.h tconfig.h options.h gthr-default.h
-.if ${MK_LLVM_LIBUNWIND} == no
+.if ${MK_LLVM_LIBUNWIND} != "no"
+# unwind.h is a generated file when MK_LLVM_LIBUNWIND == "no", and a stale
+# copy may be left behind in OBJDIR when switching, so remove it explicitly.
+beforebuild:
+ @rm -f ${.OBJDIR}/unwind.h
+.else
COMMONHDRS+= unwind.h
.endif

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 7, 6:11 AM (4 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41542858
Default Alt Text
D5019.1794031904.diff (557 B)

Event Timeline