summaryrefslogtreecommitdiff
path: root/pcr/quack
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-06 22:04:02 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-06 22:07:18 +0200
commit8ca8b108c4a038a04b70ae59a3c238902add196f (patch)
tree3ae0972f8b1e74073b4ef38c7e331eae09d2ef8a /pcr/quack
parente46f79a38bb86436619c79c1b71ba4d909a0cb10 (diff)
downloadabslibre-8ca8b108c4a038a04b70ae59a3c238902add196f.tar.gz
abslibre-8ca8b108c4a038a04b70ae59a3c238902add196f.tar.bz2
abslibre-8ca8b108c4a038a04b70ae59a3c238902add196f.zip
pcr: libreboot-utils: fix cbfstool compilation on 32bit architectures
On i686, cbfstool wasn't build because it failed to compile, and on armv7h, the build fail with an error similar to this one: host/lib/extract_vmlinuz.c: In function ‘ExtractVmlinuz’: host/lib/extract_vmlinuz.c:67:9: warning: ‘memcpy’ specified bound between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 67 | memcpy(vmlinuz, kpart_data + vmlinuz_header_offset, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | vmlinuz_header_size); | ~~~~~~~~~~~~~~~~~~~~ This fixes that build error and enables cbfstool to be built on all the architectures supported by Parabola. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/quack')
0 files changed, 0 insertions, 0 deletions