]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c++: install cp-trait.def as part of plugin headers [PR107136]
authorPatrick Palka <ppalka@redhat.com>
Tue, 4 Oct 2022 16:23:46 +0000 (12:23 -0400)
committerPatrick Palka <ppalka@redhat.com>
Tue, 4 Oct 2022 16:23:46 +0000 (12:23 -0400)
This is apparently needed since we include cp-trait.def from cp-tree.h
(in order to define the cp_trait_kind enum), as with operators.def.

PR c++/107136

gcc/cp/ChangeLog:

* Make-lang.in (CP_PLUGIN_HEADERS): Add cp-trait.def.

gcc/cp/Make-lang.in

index 38d8eeed1f0546052f61ba2f09e4b183e93033a9..aa84d6827be3dd75682363934da8064c9e1434c3 100644 (file)
@@ -39,7 +39,7 @@ CXX_INSTALL_NAME := $(shell echo c++|sed '$(program_transform_name)')
 GXX_INSTALL_NAME := $(shell echo g++|sed '$(program_transform_name)')
 CXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo c++|sed '$(program_transform_name)')
 GXX_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo g++|sed '$(program_transform_name)')
-CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h operators.def
+CP_PLUGIN_HEADERS := cp-tree.h cxx-pretty-print.h name-lookup.h type-utils.h operators.def cp-trait.def
 
 #\f
 # Define the names for selecting c++ in LANGUAGES.