Eliminate libabsl_flags.so and libabsl_flags.a
authorBenjamin Barenblat <bbaren@google.com>
Sun, 8 Jan 2023 21:54:44 +0000 (21:54 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 8 Jan 2023 21:54:44 +0000 (21:54 +0000)
Forwarded: not-needed

The libabsl_flags library only contains code when compiling with MSVC, which
Debian doesn't use. Skip compiling absl/flags/flag.cc, and make the Abseil flags
library header-only.

Gbp-Pq: Name empty-flags-library.diff

absl/flags/CMakeLists.txt

index 3e9d5adff8c2c934c13029b70587ccb22755d925..cb59d247567ec10d5ef37788f77a799dfd4bfbc6 100644 (file)
@@ -199,8 +199,6 @@ absl_cc_library(
 absl_cc_library(
   NAME
     flags
-  SRCS
-    "flag.cc"
   HDRS
     "declare.h"
     "flag.h"