summaryrefslogtreecommitdiff
path: root/deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch
blob: b7cb9acb5444b75b87e3114a0566339eb5f3b2a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -u -r -N ddb_discord_presence/Makefile ddb_discord_presence-makefile/Makefile
--- ddb_discord_presence/Makefile	2019-08-20 20:57:06.817705453 +0200
+++ ddb_discord_presence-makefile/Makefile	2019-08-20 20:58:36.464785836 +0200
@@ -14,8 +14,8 @@
 CC=gcc
 CXX=g++
 STD=gnu99
-CFLAGS+=-fPIC -I /usr/local/include -I discord-rpc/include -Wall
-CXXFLAGS+=-fPIC -I /usr/local/include -Wall
+CFLAGS+=$(COPT) -fPIC -I /usr/local/include -I discord-rpc/include -Wall
+CXXFLAGS+=$(CXXOPT) -fPIC -I /usr/local/include -Wall
 ifeq ($(UNAME_S),Darwin)
     CFLAGS+=-I $(DEADBEEF_OSX)/Contents/Headers
     CXXFLAGS+=-I $(DEADBEEF_OSX)/Contents/Headers