diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
commit | 2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch) | |
tree | 8c816148bcbd22757d892089c989ae614eae4f5a /dev-qt/qtcore/files | |
parent | 0f558761aa2dee1017b4751e4017205e015a9560 (diff) |
gentoo resync : 09.07.2022
Diffstat (limited to 'dev-qt/qtcore/files')
-rw-r--r-- | dev-qt/qtcore/files/qtcore-5.15.3-pthread.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/dev-qt/qtcore/files/qtcore-5.15.3-pthread.patch b/dev-qt/qtcore/files/qtcore-5.15.3-pthread.patch deleted file mode 100644 index c83c59ac3113..000000000000 --- a/dev-qt/qtcore/files/qtcore-5.15.3-pthread.patch +++ /dev/null @@ -1,41 +0,0 @@ -# Use link option -pthread instead of -lpthread - -# https://github.com/riscv-collab/riscv-gcc/issues/12 use Option 4 -# https://stackoverflow.com/questions/23250863/difference-between-pthread-and-lpthread-while-compiling -# In riscv, "-pthread" equivalent to add link option "--push-state --as-needed -latomic --pop-state" - -diff --git a/mkspecs/common/linux.conf b/mkspecs/common/linux.conf -index 544cc227..add969be 100644 ---- a/mkspecs/common/linux.conf -+++ b/mkspecs/common/linux.conf -@@ -33,7 +33,7 @@ QMAKE_LIBS_EGL = -lEGL - QMAKE_LIBS_OPENGL = -lGL - QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 - QMAKE_LIBS_OPENVG = -lOpenVG --QMAKE_LIBS_THREAD = -lpthread -+QMAKE_LIBS_THREAD = -pthread - QMAKE_LIBS_VULKAN = - - QMAKE_INCDIR_WAYLAND = -diff --git a/src/corelib/configure.json b/src/corelib/configure.json -index 9b5d19d4..da028fb2 100644 ---- a/src/corelib/configure.json -+++ b/src/corelib/configure.json -@@ -355,7 +355,7 @@ - "std::future<int> f = std::async([]() { return 42; });", - "(void)f.get();" - ], -- "qmake": "unix:LIBS += -lpthread" -+ "qmake": "unix:LIBS += -pthread" - } - }, - "cxx11_random": { -@@ -466,7 +466,7 @@ - "shm_open(\"test\", O_RDWR | O_CREAT | O_EXCL, 0666);", - "shm_unlink(\"test\");" - ], -- "qmake": "linux: LIBS += -lpthread -lrt" -+ "qmake": "linux: LIBS += -pthread -lrt" - } - }, - "linkat": { |