diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-04-11 21:59:37 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-04-11 21:59:37 +0000 |
commit | f73abb008834428fd4183d5ed2cdb1072ad06427 (patch) | |
tree | 9dd2548f2628d2957266540d91d607cd4a035644 /kde-base/kdelibs/files | |
parent | Fix deprecation warning. (diff) | |
download | gentoo-2-f73abb008834428fd4183d5ed2cdb1072ad06427.tar.gz gentoo-2-f73abb008834428fd4183d5ed2cdb1072ad06427.tar.bz2 gentoo-2-f73abb008834428fd4183d5ed2cdb1072ad06427.zip |
Disable fatal linker warnings for all kde apps on arm only to make things build, bug 336209
(Portage version: 2.1.9.45/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kdelibs/files')
-rw-r--r-- | kde-base/kdelibs/files/kdelibs-4.6.2-armlinking.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kde-base/kdelibs/files/kdelibs-4.6.2-armlinking.patch b/kde-base/kdelibs/files/kdelibs-4.6.2-armlinking.patch new file mode 100644 index 000000000000..a207d1088348 --- /dev/null +++ b/kde-base/kdelibs/files/kdelibs-4.6.2-armlinking.patch @@ -0,0 +1,14 @@ +diff -ruN kdelibs-4.6.2.orig/cmake/modules/FindKDE4Internal.cmake kdelibs-4.6.2/cmake/modules/FindKDE4Internal.cmake +--- kdelibs-4.6.2.orig/cmake/modules/FindKDE4Internal.cmake 2011-04-01 15:56:18.000000000 +0200 ++++ kdelibs-4.6.2/cmake/modules/FindKDE4Internal.cmake 2011-04-11 23:53:19.067196607 +0200 +@@ -1092,8 +1092,8 @@ + if (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME STREQUAL GNU) + if (CMAKE_COMPILER_IS_GNUCXX) + set ( _KDE4_PLATFORM_DEFINITIONS -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE) +- set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") +- set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_MODULE_LINKER_FLAGS}") ++ set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") ++ set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined -lc ${CMAKE_MODULE_LINKER_FLAGS}") + + set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--enable-new-dtags ${CMAKE_SHARED_LINKER_FLAGS}") + set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--enable-new-dtags ${CMAKE_MODULE_LINKER_FLAGS}") |