From: Mikko Rasa Date: Fri, 5 Feb 2010 09:33:19 +0000 (+0000) Subject: Cosmetic fixes to some options X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=72e0fe372278c31c980b6f79e6ead0068ee1eee7;p=builder.git Cosmetic fixes to some options --- diff --git a/builderrc b/builderrc index 9e624e3..aac906f 100644 --- a/builderrc +++ b/builderrc @@ -72,13 +72,13 @@ cross_prefix "windows" "i586-mingw32msvc"; profile "debug" { - option "debug" "1"; + option "debug" "yes"; option "outdir" "$profile"; }; profile "release" { option "optimize" "3"; - option "strip" "1"; + option "strip" "yes"; option "outdir" "$profile"; }; diff --git a/source/sourcepackage.cpp b/source/sourcepackage.cpp index 5209be4..3b10737 100644 --- a/source/sourcepackage.cpp +++ b/source/sourcepackage.cpp @@ -130,7 +130,7 @@ void SourcePackage::init_config() config.add_option("profile", "default", "Configuration profile"); config.add_option("tempdir", "temp", "Directory for storing temporary files"); config.add_option("outdir", ".", "Directory to put build results in"); - config.add_option("optimize", "0", "Apply compiler optimizations"); + config.add_option("optimize", "0", "Compiler optimization level"); config.add_option("strip", "no", "Strip symbols from programs"); config.add_option("debug", "no", "Produce debugging symbols"); config.add_option("staticlibs", "local", "Use static libraries");