From cdd0b740cdaf6fd54d479766f8be45352f238bd4 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 20 Jun 2024 17:09:57 +0200 Subject: CC/proto: Libraries should be aware of DEBUG flag --- CC/proto/EXPRESSIONS | 1 + CC/proto/RULES | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CC/proto/EXPRESSIONS b/CC/proto/EXPRESSIONS index 2286d06..0b44506 100644 --- a/CC/proto/EXPRESSIONS +++ b/CC/proto/EXPRESSIONS @@ -128,6 +128,7 @@ , "ADD_CXXFLAGS" , "AR" , "ENV" + , "DEBUG" , "name" , "stage" , "service support" diff --git a/CC/proto/RULES b/CC/proto/RULES index 1f9051c..abea997 100644 --- a/CC/proto/RULES +++ b/CC/proto/RULES @@ -273,7 +273,7 @@ ] , "string_fields": ["name", "stage"] , "target_fields": ["srcs", "deps"] - , "config_vars": ["CXX", "CXXFLAGS", "ADD_CXXFLAGS", "AR", "ENV"] + , "config_vars": ["CXX", "CXXFLAGS", "ADD_CXXFLAGS", "AR", "ENV", "DEBUG"] , "implicit": {"defaults": [["./", "..", "defaults"]], "proto-defaults": ["defaults"]} , "imports": {"protoc-compile": "protoc-compile"} @@ -302,7 +302,7 @@ ] , "string_fields": ["name", "stage"] , "target_fields": ["srcs", "deps"] - , "config_vars": ["CXX", "CXXFLAGS", "ADD_CXXFLAGS", "AR", "ENV"] + , "config_vars": ["CXX", "CXXFLAGS", "ADD_CXXFLAGS", "AR", "ENV", "DEBUG"] , "implicit": { "defaults": [["./", "..", "defaults"]] , "proto-defaults": ["service defaults"] -- cgit v1.2.3