Blame SOURCES/pbzip2-1.1.12-buildflags.patch

2b13f2
diff -up pbzip2-1.1.12/Makefile.flags pbzip2-1.1.12/Makefile
2b13f2
--- pbzip2-1.1.12/Makefile.flags	2015-09-09 16:10:11.389730644 +0200
2b13f2
+++ pbzip2-1.1.12/Makefile	2015-09-09 16:10:43.823872798 +0200
2b13f2
@@ -17,7 +17,7 @@ LDLIBS_PTHREAD = -lpthread
2b13f2
 
2b13f2
 
2b13f2
 # Optimization flags
2b13f2
-CXXFLAGS = -O2
2b13f2
+CXXFLAGS ?= -O2
2b13f2
 
2b13f2
 #CXXFLAGS += -g -Wall
2b13f2
 #CXXFLAGS += -ansi
2b13f2
@@ -50,11 +50,11 @@ CXXFLAGS += $(CXXFLAGS_PTHREAD)
2b13f2
 
2b13f2
 
2b13f2
 # Linker flags
2b13f2
-LDFLAGS =
2b13f2
+# LDFLAGS =
2b13f2
 
2b13f2
 
2b13f2
 # External libraries
2b13f2
-LDLIBS = -lbz2
2b13f2
+LDLIBS += -lbz2
2b13f2
 LDLIBS += $(LDLIBS_PTHREAD)
2b13f2
 
2b13f2