From ff9715aa786f0e68722e20cc4772744b46aa6c03 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 26 Sep 2007 17:39:35 +0000 Subject: [PATCH] Made -O2 default if not -g is given --- cdrskin/cdrskin_timestamp.h | 2 +- cdrskin/compile_cdrskin.sh | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 4710fcf..b42e7bf 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.09.26.155301" +#define Cdrskin_timestamP "2007.09.26.173840" diff --git a/cdrskin/compile_cdrskin.sh b/cdrskin/compile_cdrskin.sh index 8e687ba..c46c343 100755 --- a/cdrskin/compile_cdrskin.sh +++ b/cdrskin/compile_cdrskin.sh @@ -4,7 +4,7 @@ # Copyright 2005 - 2007 Thomas Schmitt, scdbackup@gmx.net, GPL # to be executed within ./libburn-* resp ./cdrskin-* -debug_opts= +debug_opts="-O2" def_opts= largefile_opts="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1" libvers="-DCdrskin_libburn_0_3_9" @@ -68,10 +68,7 @@ do do_strip=1 elif test "$i" = "-g" then - debug_opts="$debug_opts -g" - elif test "$i" = "-O2" - then - debug_opts="$debug_opts -O2" + debug_opts="-g" elif test "$i" = "-help" -o "$i" = "--help" -o "$i" = "-h" then 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 " -do_diet produce capability reduced lean version." echo " -do_strip apply program strip to compiled programs." - echo " -g compile with cc option -g." - echo " -O2 compile with cc option -O2." + echo " -g produce debuggable programm." echo " -static compile with cc option -static." exit 0 elif test "$i" = "-static"