Skip to content

Commit

Permalink
ProtoBuf dependency chain with Abseil trouble
Browse files Browse the repository at this point in the history
  • Loading branch information
pascaldekloe committed Oct 31, 2023
1 parent baf01a1 commit f479905
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions c/bench/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ scheme_generated.h: ../../testdata/bench/scheme.fbs
$(FLATC) --cpp -o . ../../testdata/bench/scheme.fbs

Colfer.o: Colfer.h Colfer.c
$(CC) $(CFLAGS) -o $@ -c -std=c14 Colfer.c
$(CC) $(CFLAGS) -o $@ -c -std=c17 Colfer.c

scheme.pb.o: scheme.pb.cc
$(CXX) $(CXXFLAGS) -o $@ -c -std=c++14 scheme.pb.cc
$(CXX) $(CXXFLAGS) -o $@ -c -std=c++17 scheme.pb.cc

bench: bench.cpp Colfer.o scheme.pb.o scheme_generated.h
$(CXX) $(CXXFLAGS) -o $@ -lstdc++ -lprotobuf -lbenchmark -std=c++14 bench.cpp Colfer.o scheme.pb.o
$(CXX) $(CXXFLAGS) -o $@ -lprotobuf -lbenchmark -labsl_log_internal_message -labsl_log_internal_check_op -std=c++17 bench.cpp Colfer.o scheme.pb.o

.PHONY: clean
clean:
Expand Down

0 comments on commit f479905

Please sign in to comment.