diff -r 3e2a08d916c6 -r 6a12068a8ac8 lsof/lsof.spec --- a/lsof/lsof.spec Fri Aug 03 16:49:08 2012 +0200 +++ b/lsof/lsof.spec Fri Aug 03 16:51:55 2012 +0200 @@ -32,7 +32,7 @@ Group: Debugging License: BSD Version: 4.86 -Release: 20120603 +Release: 20120800 # list of sources Source0: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz @@ -63,7 +63,7 @@ cd lsof_%{version}_src export PATH="/bin:/usr/bin:$PATH" export LSOF_CC="%{l_cc}" - export LSOF_MAKE="%{l_make} %{l_mflags}" + export LSOF_MAKE="%{l_make} %{l_mflags -O}" case "%{l_platform -t}" in *-freebsd* ) platform="freebsd"; LSOF_CC="/usr/bin/cc"; LSOF_MAKE="/usr/bin/make" ;; *-linux* ) platform="linux" ;;