build_nacl: 'hack' for fixing build with nacl for selecting right arch
commit417786734abcedaacbac3dcd1ff13f41ab9e8e6d
authorDaniel Borkmann <borkmann@iogearbox.net>
Wed, 21 Mar 2012 21:41:02 +0000 (21 22:41 +0100)
committerDaniel Borkmann <borkmann@iogearbox.net>
Wed, 21 Mar 2012 21:41:02 +0000 (21 22:41 +0100)
treeea9faa03f1764d3f35454b095b721428228356c2
parenta65ab404d24d0ab6c7d97d6adae0c4a210dab12e
build_nacl: 'hack' for fixing build with nacl for selecting right arch

NaCl tries to build for all possible architectures on the system, i.e. on
x86_64 it builds the lib for amd64 and for x86. On at least 2 standard
Debian-based x86_64 systems, the current build has selected the x86 library
version instead of amd64, hence the cmake build fails. This hack chooses
the right arch with the currently used gcc that is also used in the cmake
build.

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
src/curvetun/abiname.c [new file with mode: 0644]
src/curvetun/build_nacl.sh