Blame SOURCES/pbzip2-1.1.12-buildflags.patch

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