diff options
| author | Samuli Piippo <samuli.piippo@qt.io> | 2018-10-30 13:07:47 +0200 |
|---|---|---|
| committer | Joshua Watt <JPEWhacker@gmail.com> | 2018-11-20 14:33:47 -0600 |
| commit | 7a9657c7dd2f6e40ab162af8ebc785ad54774e10 (patch) | |
| tree | 45aacd7eb9a397dfb0bf3283ceb71515f5fa07be /recipes-devtools/gcc | |
| parent | b067aae507eab0f3ff5d4a4e9f9af289e30a95e3 (diff) | |
| download | meta-mingw-7a9657c7dd2f6e40ab162af8ebc785ad54774e10.tar.gz | |
winpthreads: use posix threads library from mingw64
Use the winpthreads library available in the mingw64 and
change the thread model from win32 to posix to get access
to c++11 features.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Diffstat (limited to 'recipes-devtools/gcc')
| -rw-r--r-- | recipes-devtools/gcc/gcc-runtime_%.bbappend | 2 | ||||
| -rw-r--r-- | recipes-devtools/gcc/libgcc_%.bbappend | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/recipes-devtools/gcc/gcc-runtime_%.bbappend b/recipes-devtools/gcc/gcc-runtime_%.bbappend index 1641cb9..f14edf1 100644 --- a/recipes-devtools/gcc/gcc-runtime_%.bbappend +++ b/recipes-devtools/gcc/gcc-runtime_%.bbappend | |||
| @@ -11,4 +11,4 @@ RUNTIMETARGET_remove_mingw32 = "libitm" | |||
| 11 | # mingw builds | 11 | # mingw builds |
| 12 | RUNTIMETARGET_remove_mingw32 = "libmpx" | 12 | RUNTIMETARGET_remove_mingw32 = "libmpx" |
| 13 | 13 | ||
| 14 | DEPENDS_append_mingw32 = " pthreads-win32" | 14 | DEPENDS_append_mingw32 = " nativesdk-mingw-w64-winpthreads" |
diff --git a/recipes-devtools/gcc/libgcc_%.bbappend b/recipes-devtools/gcc/libgcc_%.bbappend index 2a95d02..f542cfc 100644 --- a/recipes-devtools/gcc/libgcc_%.bbappend +++ b/recipes-devtools/gcc/libgcc_%.bbappend | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | DEPENDS_append_mingw32 = " nativesdk-mingw-w64-winpthreads" | ||
| 2 | |||
| 1 | FILES_${PN}_append_mingw32 = " ${bindir}/libgcc*.dll" | 3 | FILES_${PN}_append_mingw32 = " ${bindir}/libgcc*.dll" |
| 2 | FILES_${PN}-dev_append_mingw32 = " ${base_libdir}/libgcc*.a" | 4 | FILES_${PN}-dev_append_mingw32 = " ${base_libdir}/libgcc*.a" |
| 3 | 5 | ||
