Commit 888bdda5 authored by Alexander Kartashov's avatar Alexander Kartashov Committed by Pavel Emelyanov

protobuf: fixed compilation on ARM

The constant 4294967295 isn't replaced with 0xFFFFFFFF
in a generated source.
Signed-off-by: 's avatarAlexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent d767625b
......@@ -78,7 +78,7 @@ $(obj)/%.pb-c.c $(obj)/%.pb-c.h: $(obj)/%.proto $(obj)/%.proto.c.d
$(E) " PBCC " $@
$(Q) protoc-c --proto_path=$(obj)/ --c_out=$(obj)/ $<
ifeq ($(ARCH),arm)
$(Q) sed -i 's/4294967295/0xFFFFFFFF/g' $@ $(patsubst %c,%h,$@)
$(Q) sed -i -e 's/4294967295/0xFFFFFFFF/g' $@ $(patsubst %.h,%.c,$@)
endif
$(obj)/%.o: $(obj)/%.pb-c.c $(obj)/%.pb-c.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment