From 794335cf16b3c522b09b10dc5fb02c9554084f8a Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 4 Feb 2025 19:04:18 +0100 Subject: Add support for custom flags through env: CFLAGS, CXXFLAGS and LDFLAGS --- src/ctor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ctor.h') diff --git a/src/ctor.h b/src/ctor.h index 191fed1..6afb51e 100644 --- a/src/ctor.h +++ b/src/ctor.h @@ -292,6 +292,8 @@ struct configuration ctor::arch build_arch{ctor::arch::unknown}; std::vector args; // vector of arguments used when last calling configure + + std::string getenv(const std::string& key) const; std::map env; // env used when last calling configure std::map tools; // tools -- cgit v1.2.3