summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorDaniel Trebbien <dtrebbien@gmail.com>2012-11-22 18:06:02 -0500
committerPeter Simons <simons@cryp.to>2013-01-04 18:18:18 +0100
commit0b7e53359e921cf116d44bd3942269d46cf0fc27 (patch)
tree3b960b22f3e298baebe3d9e6d1640ee13a9fc0cf /cfg.mk
parent2fb15701f233e21bbb95f7a55d3827b806ab5528 (diff)
downloadautoconf-archive-0b7e53359e921cf116d44bd3942269d46cf0fc27.tar.gz
AX_OPENMP: fix Mac OS X support
The macro was failing to detect the OpenMP flags for g++ on Mac OS 10.7 because the AC_TRY_LINK test program was failing to link: Undefined symbols for architecture x86_64: "_gomp_thread_attr", referenced from: _initialize_env in libgomp.a(env.o) ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status As explained at [1], without resorting to a non-portable hack, the test program needs to actually use an OMP pragma. [1] http://stackoverflow.com/questions/8983038/linker-errors-after-enabling-openmp-on-mac
Diffstat (limited to 'cfg.mk')
0 files changed, 0 insertions, 0 deletions