mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Move compiler flags to configure and add -O2 as a minimum default flag.
This commit is contained in:
parent
dcf62d11a0
commit
eae38b8645
|
|
@ -23,6 +23,8 @@ consistent with CFLAGS.
|
|||
each rzip chunk and compressed block.
|
||||
* Modify purpose of -T threshold option to mean Disable LZO pre-compression
|
||||
testing. Threshold level test deprecated.
|
||||
* Make failure to allocate a buffer in the compress_ functions put out an
|
||||
error message always rather than just in max_verbose mode.
|
||||
|
||||
FEBRUARY 2011, Peter Hyman
|
||||
* Minor updates to man pages, lrzip.conf example file.
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ LIBS=@LIBS@
|
|||
LDFLAGS=@LDFLAGS@
|
||||
CC=@CC@
|
||||
CXX=@CXX@
|
||||
CFLAGS=@CFLAGS@ -I. -I$(srcdir) -c -s
|
||||
CXXFLAGS=@CXXFLAGS@ -I. -I$(srcdir) -c -s -Wall -W
|
||||
CFLAGS=@CFLAGS@ -I. -I$(srcdir) -c
|
||||
CXXFLAGS=@CXXFLAGS@ -I. -I$(srcdir) -c
|
||||
LZMA_CFLAGS=-I@top_srcdir@/lzma/C -DCOMPRESS_MF_MT -D_REENTRANT
|
||||
|
||||
INSTALLCMD=@INSTALL@
|
||||
|
|
|
|||
3
configure
vendored
3
configure
vendored
|
|
@ -3871,7 +3871,8 @@ fi
|
|||
|
||||
|
||||
if test x"$GCC" = xyes; then
|
||||
CFLAGS="$CFLAGS -Wall -W"
|
||||
CFLAGS="-Wall -W -s -O2 $CFLAGS"
|
||||
CXXFLAGS="-Wall -W -s -O2 $CXXFLAGS"
|
||||
fi
|
||||
|
||||
ac_ext=c
|
||||
|
|
|
|||
|
|
@ -26,7 +26,8 @@ AC_SUBST(SHELL)
|
|||
AC_SYS_LARGEFILE
|
||||
|
||||
if test x"$GCC" = xyes; then
|
||||
CFLAGS="$CFLAGS -Wall -W"
|
||||
CFLAGS="-Wall -W -s -O2 $CFLAGS"
|
||||
CXXFLAGS="-Wall -W -s -O2 $CXXFLAGS"
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADERS(fcntl.h sys/time.h sys/unistd.h unistd.h)
|
||||
|
|
|
|||
Loading…
Reference in a new issue