summaryrefslogtreecommitdiff
path: root/system/FreeFileSync/use_our_cflags.patch
diff options
context:
space:
mode:
authortitopoquito <titopoquito@gmail.com>2011-06-20 12:25:04 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 21:59:28 -0300
commitce619465f3e5637109a215ebf29da1524d1842bc (patch)
treeedeb252f4f40a0f24ff5e720f7d8e44b314236ae /system/FreeFileSync/use_our_cflags.patch
parenteac90169cd0c75845e9e8914dc20085f0570ecbe (diff)
downloadslackbuilds-ce619465f3e5637109a215ebf29da1524d1842bc.tar.gz
system/FreeFileSync: Added (graphical backup tool)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/FreeFileSync/use_our_cflags.patch')
-rw-r--r--system/FreeFileSync/use_our_cflags.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/FreeFileSync/use_our_cflags.patch b/system/FreeFileSync/use_our_cflags.patch
new file mode 100644
index 0000000000..f9de7ee903
--- /dev/null
+++ b/system/FreeFileSync/use_our_cflags.patch
@@ -0,0 +1,14 @@
+diff -Nur orig/Makefile new/Makefile
+--- orig/Makefile 2011-04-19 14:46:30.000000000 -0500
++++ new/Makefile 2011-06-20 12:12:45.252826394 -0500
+@@ -4,8 +4,8 @@
+ SHAREDIR = $(DESTDIR)$(prefix)/share
+ APPSHAREDIR = $(SHAREDIR)/$(APPNAME)
+
+-COMMON_COMPILE_FLAGS = -Wall -pipe `pkg-config --cflags gtk+-2.0` -O3 -pthread -DNDEBUG -DwxUSE_UNICODE -DFFS_LINUX -DTIXML_USE_STL -DWXINTL_NO_GETTEXT_MACRO
+-COMMON_LINK_FLAGS = -O3 -pthread
++COMMON_COMPILE_FLAGS = -Wall -pipe `pkg-config --cflags gtk+-2.0` $(OPTS) -pthread -DNDEBUG -DwxUSE_UNICODE -DFFS_LINUX -DTIXML_USE_STL -DWXINTL_NO_GETTEXT_MACRO
++COMMON_LINK_FLAGS = $(OPTS) -pthread
+
+ #default build
+ FFS_CPPFLAGS = $(COMMON_COMPILE_FLAGS) `wx-config --cxxflags --debug=no --unicode=yes`