postgresql: fix sparc compile issue
authorWaldemar Brodkorb <wbx@openadk.org>
Sun, 9 Aug 2015 18:13:36 +0000 (20:13 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 10 Aug 2015 13:55:44 +0000 (15:55 +0200)
commitb1c6801f1c5dfdf8610d16d8a4cd68d062b44e16
tree46bb26c128641deb5202f6443d66e3f3cdef10d1
parent076c508d1b3ac6e68baf9373b05974727a697550
postgresql: fix sparc compile issue

Fixes autobuilder compile error:
http://autobuild.buildroot.net/results/f374d3535cf91f139ce80703cd2d0a2be5d3b2b1/

The predefines are wrong:
./output/host/usr/bin/sparc-buildroot-linux-uclibc-gcc -dM -E - </dev/null|grep sparc
#define sparc 1
#define __sparc__ 1
#define __sparc 1
#define __sparc_v8__ 1

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/postgresql/0002-fix-sparc-compile.patch [new file with mode: 0644]