]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - bzip2/bzip2.nm
bzip2: Fix soname and building with CFLAGS.
[people/stevee/ipfire-3.x.git] / bzip2 / bzip2.nm
index 41ef384111b0ab04eaa46755ef1eedee52a930a4..97e1972e855864c56c7672eefa2726b2afd062d8 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = bzip2
 version    = 1.0.6
-release    = 2
+release    = 3
 
 groups     = Applications/Compression
 url        = http://www.bzip.org/
@@ -29,10 +29,12 @@ build
 
        build
                %{DO_FIX_LIBTOOL}
-               make -f Makefile-libbz2_so %{PARALLELISMFLAGS}
+               make -f Makefile-libbz2_so %{PARALLELISMFLAGS} \
+                       CFLAGS="%{CFLAGS}"
 
                make clean
-               make %{PARALLELISMFLAGS}
+               make %{PARALLELISMFLAGS} \
+                       CFLAGS="%{CFLAGS}"
        end
 
        install
@@ -56,7 +58,7 @@ packages
        package %{name}
                groups += Build
        end
-       
+
        package %{name}-devel
                template DEVEL
        end