Force C++ linking of the gpu_utils
authorRoland Schulz <roland@utk.edu>
Sun, 11 Nov 2012 20:30:50 +0000 (15:30 -0500)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 23 Nov 2012 12:50:49 +0000 (13:50 +0100)
commitc0180203d4247d5e66cbd5e4acd37b5cd3a72aaf
treef71385208b2184743901336c376f5226702697b9
parenta15a21c63efc5577cc868d283b360d36fceeda6d
Force C++ linking of the gpu_utils

As the gpu_utils module contains some exception handling (in memtestG80)
we need to force C++ linking of this library. This allows us to remove
the --add-needed linker flag which was not the appropriate solution for
the otherwise failing linking due to the following ld error:
undefined reference to symbol '__cxa_throw@@CXXABI_1.3'

Change-Id: I333b5506abdee2f790781a6524c475c56db6eac0
26 files changed:
CMakeLists.txt
include/gmx_ana.h
src/kernel/CMakeLists.txt
src/kernel/g_luck.c
src/kernel/g_protonate.c
src/kernel/g_x2top.c
src/kernel/gmxcheck.c
src/kernel/gmxdump.c
src/kernel/grompp.c
src/kernel/main.c [new file with mode: 0644]
src/kernel/mdrun.c
src/kernel/pdb2gmx.c
src/kernel/tpbconv.c
src/tools/CMakeLists.txt
src/tools/do_dssp.c
src/tools/g_anadock.c
src/tools/g_sigeps.c
src/tools/gmx_anadock.c [new file with mode: 0644]
src/tools/gmx_do_dssp.c [new file with mode: 0644]
src/tools/gmx_make_edi.c [new file with mode: 0644]
src/tools/gmx_make_ndx.c [new file with mode: 0644]
src/tools/gmx_mk_angndx.c [new file with mode: 0644]
src/tools/gmx_sigeps.c [new file with mode: 0644]
src/tools/make_edi.c
src/tools/make_ndx.c
src/tools/mk_angndx.c