summarylogtreecommitdiffstats
path: root/deadbeef-lyricbar-makefile.patch
blob: 3b070d7d02d24335c7cb4dfc0751ae4dba6987b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff '--color=auto' -u -r -N deadbeef-lyricbar/Makefile deadbeef-lyricbar-makefile/Makefile
--- deadbeef-lyricbar/Makefile	2022-08-25 16:57:00.514143174 +0200
+++ deadbeef-lyricbar-makefile/Makefile	2022-08-25 16:56:46.485115039 +0200
@@ -1,5 +1,5 @@
-CFLAGS+=-std=c99 -Wall -O2 -D_GNU_SOURCE -fPIC -fvisibility=hidden -flto
-CXXFLAGS+=-std=c++14 -Wall -O2 -fPIC -fvisibility=hidden -flto
+CFLAGS+=-std=c99 -Wall $(COPTS) -D_GNU_SOURCE -fPIC -fvisibility=hidden -flto
+CXXFLAGS+=-std=c++14 -Wall $(CXXOPTS) -fPIC -fvisibility=hidden -flto
 LIBFLAGS=`pkg-config --cflags $(GTKMM) $(GTK)`
 LIBS=`pkg-config --libs $(GTKMM) $(GTK)`
 LDFLAGS+=-flto
@@ -33,7 +33,7 @@
 install:
 	install -d $(prefix)/lib/deadbeef
 	install -d $(prefix)/share/locale/ru/LC_MESSAGES
-	install -m 666 -D *.so $(prefix)/lib/deadbeef
+	install -m 0755 -D *.so $(prefix)/lib/deadbeef
 	msgfmt gettext/ru/deadbeef-lyricbar.po -o $(prefix)/share/locale/ru/LC_MESSAGES/deadbeef-lyricbar.mo
 
 clean: