Cryptopp (at least my installed version) doesn't build on gcc 4.7.
Signed-off-by: Sage Weil <sage@inktank.com>
-P profiling build
-p google profiler
-O <level> optimize
+-n use libnss
EOF
}
verbose=0
profile=0
CONFIGURE_FLAGS=""
-while getopts "d:e:hHTPpvO:" flag
+while getopts "d:e:hHTPpnvO:" flag
do
case $flag in
d) debug_level=$OPTARG;;
O) CFLAGS="${CFLAGS} -O$OPTARG";;
+ n) CONFIGURE_FLAGS="$CONFIGURE_FLAGS --with-nss --without-cryptopp";;
+
P) profile=1;;
p) with_profiler="--with-profiler" ;;