Added -O2 to binary production

This commit is contained in:
Thomas Schmitt 2007-02-21 20:57:04 +00:00
parent 115f03cf63
commit fa6849374a
2 changed files with 4 additions and 4 deletions

View File

@ -201,11 +201,11 @@ tar czf "$cdrskin_tarball" "$target"
cd "$compile_dir" || exit 1
./configure
make
"$compile_cmd" -do_strip
"$compile_cmd" -O2 -do_strip
cp "$compile_result" "../$bintarget_dynamic"
if test -n "$compile_static_opts"
then
"$compile_cmd" $compile_static_opts -do_strip
"$compile_cmd" $compile_static_opts -O2 -do_strip
cp "$compile_result" "../$bintarget_static"
fi
"$man_to_html_cmd"

View File

@ -201,11 +201,11 @@ tar czf "$cdrskin_tarball" "$target"
cd "$compile_dir" || exit 1
./configure
make
"$compile_cmd" -do_strip
"$compile_cmd" -O2 -do_strip
cp "$compile_result" "../$bintarget_dynamic"
if test -n "$compile_static_opts"
then
"$compile_cmd" $compile_static_opts -do_strip
"$compile_cmd" $compile_static_opts -O2 -do_strip
cp "$compile_result" "../$bintarget_static"
fi
"$man_to_html_cmd"