Made -O2 default if not -g is given
This commit is contained in:
parent
7ec2972988
commit
ff9715aa78
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2007.09.26.155301"
|
#define Cdrskin_timestamP "2007.09.26.173840"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# Copyright 2005 - 2007 Thomas Schmitt, scdbackup@gmx.net, GPL
|
# Copyright 2005 - 2007 Thomas Schmitt, scdbackup@gmx.net, GPL
|
||||||
# to be executed within ./libburn-* resp ./cdrskin-*
|
# to be executed within ./libburn-* resp ./cdrskin-*
|
||||||
|
|
||||||
debug_opts=
|
debug_opts="-O2"
|
||||||
def_opts=
|
def_opts=
|
||||||
largefile_opts="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1"
|
largefile_opts="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1"
|
||||||
libvers="-DCdrskin_libburn_0_3_9"
|
libvers="-DCdrskin_libburn_0_3_9"
|
||||||
@ -68,10 +68,7 @@ do
|
|||||||
do_strip=1
|
do_strip=1
|
||||||
elif test "$i" = "-g"
|
elif test "$i" = "-g"
|
||||||
then
|
then
|
||||||
debug_opts="$debug_opts -g"
|
debug_opts="-g"
|
||||||
elif test "$i" = "-O2"
|
|
||||||
then
|
|
||||||
debug_opts="$debug_opts -O2"
|
|
||||||
elif test "$i" = "-help" -o "$i" = "--help" -o "$i" = "-h"
|
elif test "$i" = "-help" -o "$i" = "--help" -o "$i" = "-h"
|
||||||
then
|
then
|
||||||
echo "cdrskin/compile_cdrskin.sh : to be executed within top level directory"
|
echo "cdrskin/compile_cdrskin.sh : to be executed within top level directory"
|
||||||
@ -87,8 +84,7 @@ do
|
|||||||
echo " -oldfashioned use pre-0.2.2 libburn features only."
|
echo " -oldfashioned use pre-0.2.2 libburn features only."
|
||||||
echo " -do_diet produce capability reduced lean version."
|
echo " -do_diet produce capability reduced lean version."
|
||||||
echo " -do_strip apply program strip to compiled programs."
|
echo " -do_strip apply program strip to compiled programs."
|
||||||
echo " -g compile with cc option -g."
|
echo " -g produce debuggable programm."
|
||||||
echo " -O2 compile with cc option -O2."
|
|
||||||
echo " -static compile with cc option -static."
|
echo " -static compile with cc option -static."
|
||||||
exit 0
|
exit 0
|
||||||
elif test "$i" = "-static"
|
elif test "$i" = "-static"
|
||||||
|
Loading…
Reference in New Issue
Block a user