mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2025-01-14 01:07:57 +08:00
Makefile.am: use CXXFLAGS instead of CFLAGS for protoc-c/protoc-c, t/generated_code2_cxx_generate_packed_data
these are C++ programs, not C programs, so use CXXFLAGS instead of CFLAGS. based on a patch from Andrei Nigmatulin.
This commit is contained in:
parent
b635119a98
commit
66005093be
@ -89,8 +89,8 @@ protoc_c_protoc_c_SOURCES = \
|
||||
protoc-c/c_string_field.cc \
|
||||
protoc-c/c_string_field.h \
|
||||
protoc-c/main.cc
|
||||
protoc_c_protoc_c_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
protoc_c_protoc_c_CXXFLAGS = \
|
||||
$(AM_CXXFLAGS) \
|
||||
$(protobuf_CFLAGS)
|
||||
protoc_c_protoc_c_LDADD = \
|
||||
$(protobuf_LIBS) \
|
||||
@ -129,8 +129,8 @@ t_generated_code2_cxx_generate_packed_data_SOURCES = \
|
||||
t/generated-code2/cxx-generate-packed-data.cc \
|
||||
t/test-full.pb.cc
|
||||
t/generated-code2/cxx-generate-packed-data.$(OBJEXT): t/test-full.pb.h
|
||||
t_generated_code2_cxx_generate_packed_data_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
t_generated_code2_cxx_generate_packed_data_CXXFLAGS = \
|
||||
$(AM_CXXFLAGS) \
|
||||
$(protobuf_CFLAGS)
|
||||
t_generated_code2_cxx_generate_packed_data_LDADD = \
|
||||
$(protobuf_LIBS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user