ee7b75
diff -up bzip2-1.0.6/Makefile-libbz2_so.pom bzip2-1.0.6/Makefile-libbz2_so
ee7b75
--- bzip2-1.0.6/Makefile-libbz2_so.pom	2010-09-22 10:36:24.000000000 +0200
ee7b75
+++ bzip2-1.0.6/Makefile-libbz2_so	2010-09-22 10:36:58.000000000 +0200
ee7b75
@@ -35,7 +35,7 @@ OBJS= blocksort.o  \
ee7b75
       bzlib.o
ee7b75
 
ee7b75
 all: $(OBJS)
ee7b75
-	$(CC) -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.6 $(OBJS)
ee7b75
+	$(CC) $(CFLAGS) -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.6 $(OBJS)
ee7b75
 	$(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.6
ee7b75
 	rm -f libbz2.so.1.0
ee7b75
 	ln -s libbz2.so.1.0.6 libbz2.so.1.0