diff options
author | MiLo <milo-software@users.sourceforge.net> | 2013-01-21 09:46:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-25 12:42:43 +0000 |
commit | 3991c5520e584635d3034f27ce817c453b36fb2d (patch) | |
tree | 87e44a24dd7b6faff3384d8562cf9848b279e01e /meta/classes/externalsrc.bbclass | |
parent | dbb0083c711bc51ad2b847f172b8552df6d07798 (diff) | |
download | poky-3991c5520e584635d3034f27ce817c453b36fb2d.tar.gz |
gcc: Enable OpenMP compiling and library
Multicore embedded systems are getting more and more common.
Remove "--disable-openmp" from the GCC configuration options and
always build libgomp. This only creates a "bigger" compiler but
has no effect on the compiled binaries that don't use openmp.
Tested a clean build on mips32el and arm7a, no problems encountered.
Autoconf will not detect OpenMP after this change, because it will
build and run a target binary on the build system. In order to use
OpenMP, the variable ac_cv_prog_c_openmp=-fopenmp must be set.
(From OE-Core rev: fdf37b792c13a1fc3f63faf471f0403396414a35)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/externalsrc.bbclass')
0 files changed, 0 insertions, 0 deletions