Author: vip Date: Sat Jul 28 16:01:32 2007 GMT Module: SOURCES Tag: HEAD ---- Log message: - optflags fix for pbzip2
---- Files affected: SOURCES: pbzip2-optflags.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/pbzip2-optflags.patch diff -u /dev/null SOURCES/pbzip2-optflags.patch:1.1 --- /dev/null Sat Jul 28 18:01:32 2007 +++ SOURCES/pbzip2-optflags.patch Sat Jul 28 18:01:27 2007 @@ -0,0 +1,28 @@ +--- Makefile~ 2007-07-26 12:00:29.000000000 +0200 ++++ Makefile 2007-07-28 17:55:45.470520010 +0200 +@@ -11,21 +11,21 @@ + + # Standard pbzip2 compile + pbzip2: pbzip2.cpp +- $(CC) -O3 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pbzip2 pbzip2.cpp -pthread -lpthread -lbz2 ++ $(CC) $(OPTFLAGS) -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pbzip2 pbzip2.cpp -pthread -lpthread -lbz2 + + # Choose this if you want to compile in a static version of the libbz2 library + pbzip2-static: libbz2.a pbzip2.cpp +- $(CC) -O3 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pbzip2 pbzip2.cpp -pthread -lpthread -I. -L. -lbz2 ++ $(CC) $(OPTFLAGS) -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pbzip2 pbzip2.cpp -pthread -lpthread -I. -L. -lbz2 + + # Choose this if you want to compile pbzip2 without load average support for + # systems that do not support it + pbzip2-noloadavg: pbzip2.cpp +- $(CC) -O3 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DPBZIP_NO_LOADAVG -o pbzip2 pbzip2.cpp -pthread -lpthread -lbz2 ++ $(CC) $(OPTFLAGS) -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DPBZIP_NO_LOADAVG -o pbzip2 pbzip2.cpp -pthread -lpthread -lbz2 + + # Compatability mode for 32bit file sizes (less than 2GB) and systems + # that have compilers that treat int as 64bit natively (ie: modern AIX) + pbzip2-compat: pbzip2.cpp +- $(CC) -O3 -o pbzip2 pbzip2.cpp -pthread -lpthread -lbz2 ++ $(CC) $(OPTFLAGS) -o pbzip2 pbzip2.cpp -pthread -lpthread -lbz2 + + # Install the binary pbzip2 program and man page + install: pbzip2 ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
