Commit b607fb06 authored by Alessandro Rubini's avatar Alessandro Rubini

tools: build wrpc-dump with "-m32" flag (well, we assume PC host)

This fixes the problem with data sizes when building on a 64-bit host.
Now the dump of ppi makes sense, besides endianness.

Please note how this requires a cross-compile environment for i386
when you build on x86-64. Later on this requirement is lifted.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent f3dafc70
......@@ -43,7 +43,7 @@ sdb-wrpc.bin: sdbfs
$(SDBFS)/gensdbfs $< $@
wrpc-dump: wrpc-dump.c
$(CC) $(CFLAGS) -I../ppsi/include -I../ppsi/arch-wrpc/include \
$(CC) -m32 $(CFLAGS) -I../ppsi/include -I../ppsi/arch-wrpc/include \
-I ../sdb-lib \
$^ -o $@
......
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