summaryrefslogtreecommitdiff
path: root/system/FreeFileSync/use_our_cflags.patch
blob: f9de7ee9039c9f5e66f4d6763e66d8d8c17d2784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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`