distribution/packages/compress/bzip2/patches/bzip2-1.0.8-cflags.patch

12 lines
470 B
Diff
Raw Normal View History

2022-02-05 14:23:32 +00:00
--- bzip2-1.0.8/Makefile-libbz2_so.orig 2019-07-28 09:43:16.597589341 +0200
+++ bzip2-1.0.8/Makefile-libbz2_so 2019-07-28 09:53:41.142160730 +0200
@@ -35,7 +35,7 @@
bzlib.o
all: $(OBJS)
- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.8 $(OBJS)
+ $(CC) $(CFLAGS) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.8 $(OBJS)
$(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.8
rm -f libbz2.so.1.0
ln -s libbz2.so.1.0.8 libbz2.so.1.0