[Swan-dev] Bug#853947: libreswan FTBFS on mips and mipsel: error: "_ABI64" is not defined [-Werror=undef]
andrew.cagney at gmail.com
Thu Feb 9 20:58:52 UTC 2017
On 9 February 2017 at 07:57, Radovan Birdic <Radovan.Birdic at imgtec.com> wrote:
> Maybe a better solution would be to make changes in nspr package.
> I have already suggested changes to the package:
Here, for instance, is the NSS compile line for nssver.c (which is
little more than #include "nss.h"):
cc -o OBJS/nssver.o -c -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DLINUX2_1 -pipe
-ffunction-sections -fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux
-Wall -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT
-DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
it doesn't seem to include -Wundef (I don't think that is added by
-Wall) so it would appear at least NSS has been ignoring this issue.
More information about the Swan-dev