summarylogtreecommitdiffstats
path: root/ncmpcpp-git-add-full-relro.patch
blob: 460b829a8e32f4d66796f8e7b700460976b06b3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Naurp a/extras/Makefile b/extras/Makefile
--- a/extras/Makefile	2018-12-31 14:04:32.000000000 +0000
+++ b/extras/Makefile	2018-12-31 14:31:26.004790035 +0000
@@ -1,7 +1,7 @@
-CXX=g++
-CXXFLAGS=-O2 -march=native -pipe -std=c++0x -Wall -Wextra -Wshadow -Werror
-CPPFLAGS=`taglib-config --cflags`
-LDFLAGS=`taglib-config --libs`
+CXX := g++
+CXXFLAGS += -std=c++0x -Wall -Wextra -Wshadow -Werror
+CPPFLAGS += $(shell taglib-config --cflags)
+LDFLAGS += $(shell taglib-config --libs)
 
 artist_to_albumartist: artist_to_albumartist.cpp
 	$(CXX) artist_to_albumartist.cpp -o artist_to_albumartist $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)