summaryrefslogtreecommitdiff
path: root/chinese/fcitx-configtool/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/fcitx-configtool/files/patch-CMakeLists.txt')
-rw-r--r--chinese/fcitx-configtool/files/patch-CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/chinese/fcitx-configtool/files/patch-CMakeLists.txt b/chinese/fcitx-configtool/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..56211ba80e38
--- /dev/null
+++ b/chinese/fcitx-configtool/files/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+--- ./CMakeLists.txt.orig 2013-10-27 08:45:38.000000000 +0900
++++ ./CMakeLists.txt 2014-03-18 14:40:07.000000000 +0900
+@@ -27,8 +27,8 @@
+ "${PROJECT_SOURCE_DIR}/cmake/fcitx-extract-glade.sh" glade)
+
+ add_definitions("-D_GNU_SOURCE")
+-set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-sign-compare -Wno-unused-local-typedefs -Wno-unused-parameter -fvisibility=hidden ${CMAKE_C_FLAGS}")
+-set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-sign-compare -Wno-unused-local-typedefs -Wno-unused-parameter -fvisibility=hidden ${CMAKE_CXX_FLAGS}")
++set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden ${CMAKE_C_FLAGS}")
++set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden ${CMAKE_CXX_FLAGS}")
+ set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined,--as-needed ${CMAKE_SHARED_LINKER_FLAGS}")
+ set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined,--as-needed ${CMAKE_MODULE_LINKER_FLAGS}")
+