mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-01 22:33:30 +00:00
protobuf: fixed compilation on ARM
The constant 4294967295 isn't replaced with 0xFFFFFFFF in a generated source. Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
d767625be9
commit
888bdda5d4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue