Message ID | 20200817192712.32481-1-vfazio@xes-inc.com |
---|---|
State | Superseded |
Headers | show |
Series | [1/1] package/ibm-sw-tpm2: fix glibc build errors | expand |
Hello Vincent, Thanks for having looked into this issue! On Mon, 17 Aug 2020 14:27:12 -0500 Vincent Fazio <vfazio@xes-inc.com> wrote: > diff --git a/package/ibm-sw-tpm2/0002-Add-required-defines.patch b/package/ibm-sw-tpm2/0002-Add-required-defines.patch > new file mode 100644 > index 0000000000..c9e2f19bd2 > --- /dev/null > +++ b/package/ibm-sw-tpm2/0002-Add-required-defines.patch All patches must have a proper Git commit message, with a description and Signed-off-by line. However, in this case, I think this shouldn't be a separate 0002 patch: the patch 0001 that makes use of LONG_BIT should be adjusted. Thanks! Thomas
diff --git a/package/ibm-sw-tpm2/0002-Add-required-defines.patch b/package/ibm-sw-tpm2/0002-Add-required-defines.patch new file mode 100644 index 0000000000..c9e2f19bd2 --- /dev/null +++ b/package/ibm-sw-tpm2/0002-Add-required-defines.patch @@ -0,0 +1,11 @@ +--- a/src/makefile ++++ b/src/makefile +@@ -46,6 +46,8 @@ CCFLAGS = -Wall \ + -c -ggdb -O0 \ + -DTPM_POSIX \ + -D_POSIX_ \ ++ -D_DEFAULT_SOURCE \ ++ -D_XOPEN_SOURCE \ + -DTPM_NUVOTON + + # add this line for big endian platforms