summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rtems/config/4.11/rtems-arm.bset5
-rw-r--r--rtems/config/4.11/rtems-powerpc.bset5
-rw-r--r--rtems/config/4.11/rtems-sparc.bset5
-rw-r--r--source-builder/config/gcc-common-1.cfg1
4 files changed, 16 insertions, 0 deletions
diff --git a/rtems/config/4.11/rtems-arm.bset b/rtems/config/4.11/rtems-arm.bset
index 1e06796..c0bd04a 100644
--- a/rtems/config/4.11/rtems-arm.bset
+++ b/rtems/config/4.11/rtems-arm.bset
@@ -17,6 +17,11 @@
%define enable_obsolete 1
#
+# Enable OpenMP support
+#
+%define with_libgomp
+
+#
# Tools configuration.
#
4.11/rtems-autotools
diff --git a/rtems/config/4.11/rtems-powerpc.bset b/rtems/config/4.11/rtems-powerpc.bset
index bc0b3a6..ddff6da 100644
--- a/rtems/config/4.11/rtems-powerpc.bset
+++ b/rtems/config/4.11/rtems-powerpc.bset
@@ -22,6 +22,11 @@
%define win32-gdb-disable-sim
#
+# Enable OpenMP support
+#
+%define with_libgomp
+
+#
# Tools configuration.
#
4.11/rtems-autotools
diff --git a/rtems/config/4.11/rtems-sparc.bset b/rtems/config/4.11/rtems-sparc.bset
index d1ebdfa..ee0f3f0 100644
--- a/rtems/config/4.11/rtems-sparc.bset
+++ b/rtems/config/4.11/rtems-sparc.bset
@@ -67,6 +67,11 @@
%define win32-gdb-disable-sim
#
+# Enable OpenMP support
+#
+%define with_libgomp
+
+#
# Tools configuration.
#
4.11/rtems-autotools
diff --git a/source-builder/config/gcc-common-1.cfg b/source-builder/config/gcc-common-1.cfg
index 975318c..941e15c 100644
--- a/source-builder/config/gcc-common-1.cfg
+++ b/source-builder/config/gcc-common-1.cfg
@@ -156,6 +156,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
%{?with_threads:--enable-threads}%{!?with_threads:--disable-threads} \
%{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \
%{?enable_obsolete:--enable-obsolete} \
+ %{?with_libgomp:--enable-libgomp} \
%{?gcc_configure_extra_options:%{gcc_configure_extra_options}} \
--enable-languages="$languages"