summaryrefslogtreecommitdiff
path: root/freefilesync/ffs_makefile.patch
blob: b3ff7ff15d886ab894da3034e744d40752cfd387 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff -Naur -x '*.orig' -x '*.rej' 10.3-0/FreeFileSync/Source/Makefile 10.3-2/FreeFileSync/Source/Makefile
--- 10.3-0/FreeFileSync/Source/Makefile   2018-08-07 05:03:33.000000000 -0400
+++ 10.3-2/FreeFileSync/Source/Makefile   2018-08-15 22:25:06.694355202 -0400
@@ -9,7 +9,7 @@
            -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wshadow -Wnon-virtual-dtor \
            -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread

-LINKFLAGS = -s -no-pie `wx-config --libs std, aui --debug=no` -pthread
+LINKFLAGS = -s -no-pie `wx-config --libs std, aui --debug=no` -lz -pthread

 #Gtk - support recycler/icon loading/no button border/grid scrolling
 CXXFLAGS  += `pkg-config --cflags gtk+-2.0`
@@ -101,6 +101,7 @@
 all: ../Build/Bin/$(APPNAME)
 
 ../Build/Bin/$(APPNAME): $(OBJ_FILES)
+	mkdir -p ../Build/Bin
 	g++ -o $@ $^ $(LINKFLAGS)
 
 ../Obj/FFS_GCC_Make_Release/ffs/src/%.o : %
diff -Naur -x '*.orig' -x '*.rej' 10.3-0/FreeFileSync/Source/RealTimeSync/Makefile 10.3-2/FreeFileSync/Source/RealTimeSync/Makefile
--- 10.3-0/FreeFileSync/Source/RealTimeSync/Makefile  2018-08-07 05:03:33.000000000 -0400
+++ 10.3-2/FreeFileSync/Source/RealTimeSync/Makefile  2018-08-15 22:25:15.968461418 -0400
@@ -6,7 +6,7 @@
            -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wshadow -Wnon-virtual-dtor \
            -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread

-LINKFLAGS = -s -no-pie `wx-config --libs std, aui --debug=no` -pthread
+LINKFLAGS = -s -no-pie `wx-config --libs std, aui --debug=no` -lz -pthread

 #Gtk - support "no button border"
 CXXFLAGS  += `pkg-config --cflags gtk+-2.0`
bgstack15