mirror of
https://github.com/ceph/ceph
synced 2025-04-01 00:26:47 +00:00
do_autogen: add -P (--with-profiler)
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
This commit is contained in:
parent
9f95489a91
commit
18e9b66edd
@ -26,7 +26,7 @@ debug_level=0
|
||||
verbose=0
|
||||
CFLAGS=""
|
||||
CXXFLAGS=""
|
||||
while getopts "36d:hv" flag
|
||||
while getopts "36d:hPv" flag
|
||||
do
|
||||
case $flag in
|
||||
3) CFLAGS="$CFLAGS -m32";;
|
||||
@ -35,6 +35,8 @@ do
|
||||
|
||||
d) debug_level=$OPTARG;;
|
||||
|
||||
P) with_profiler="--with-profiler ";;
|
||||
|
||||
h) usage
|
||||
exit 0;;
|
||||
|
||||
@ -93,5 +95,5 @@ export CXXFLAGS
|
||||
|
||||
./configure \
|
||||
--prefix=/usr --sbindir=/sbin --localstatedir=/var --sysconfdir=/etc \
|
||||
--with-gtk2=yes --with-debug \
|
||||
--with-gtk2=yes --with-debug $with_profiler \
|
||||
|| die "configure failed"
|
||||
|
Loading…
Reference in New Issue
Block a user