diff options
Diffstat (limited to 'mail-client/geary/files/geary-0.4.0-cflags.patch')
-rw-r--r-- | mail-client/geary/files/geary-0.4.0-cflags.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mail-client/geary/files/geary-0.4.0-cflags.patch b/mail-client/geary/files/geary-0.4.0-cflags.patch new file mode 100644 index 000000000000..7a7666b2c4f8 --- /dev/null +++ b/mail-client/geary/files/geary-0.4.0-cflags.patch @@ -0,0 +1,27 @@ +commit e41cf68206eb16be678eeaa1dc998d94d2f93d57 +Author: hasufell <hasufell@gentoo.org> +Date: Tue Aug 27 01:40:58 2013 +0200 + + respect system CFLAGS + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 5202b99..949d494 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -471,16 +471,8 @@ set(CFLAGS + -D_GSETTINGS_DIR=\"${CMAKE_BINARY_DIR}/gsettings\" + -DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\" + -DLANGUAGE_SUPPORT_DIRECTORY=\"${LANGUAGE_SUPPORT_DIRECTORY}\" +- -g + ) + +-if (NOT DEBUG) +- set(CFLAGS +- ${CFLAGS} +- -O2 +- ) +-endif () +- + if (REF_TRACKING) + message(STATUS "Reference tracking: ON") + set(EXTRA_VALA_OPTIONS |