i added a hack to allow arnv7h to build despite a -Werror trap - it is
likely something that affects all users with the newest compiler-set,
so maybe should be handled upstream, if someone wants to report the bug
to gnuboot
> cc -O2 -g -Wall -Wextra -Wmissing-prototypes -I. -DCMOS_HAL=1 -c -o
> accessors/cmos-hw-unix.o accessors/cmos-hw-unix.c
> >accessors/cmos-hw-unix.c: In function ‘cmos_hal_read’:
> accessors/cmos-hw-unix.c:179:9: error: ‘return’ with no value, in
> function returning non-void [-Wreturn-mismatch]
+# armv7h error: ‘return’ with no value, in function returning non-void
+if [ "${CARCH}" = 'armv7h' ] ; then
+ export CPPFLAGS+=" -Wno-return-mismatch"
+fi
is there any reason to keep both This and libretools-utils for some time?
_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev