_enable_debug: corrected %optflags_optimization, %optflags_default definitions

This commit is contained in:
Дмитрий Левин 2002-04-05 09:49:15 +00:00
parent c0bfc001c2
commit cedc9591da

View File

@ -463,7 +463,7 @@
@alt@%_optlevel 2
@alt@
@alt@# general optimization flags
@alt@%optflags_optimization %{?_enable_debug:-O0} %{!?_enable_debug:-O%{_optlevel} -fexpensive-optimizations}
@alt@%optflags_optimization -O%{_optlevel} -fexpensive-optimizations
@alt@
@alt@# warning flags
@alt@%optflags_warnings -Wall
@ -490,4 +490,4 @@
@alt@# flags for compiling kernel
@alt@%optflags_kernel -malign-loops=2 -malign-jumps=2 -malign-functions=2 -mpreferred-stack-boundary=2
@alt@
@alt@%optflags_default %optflags_core %optflags_warnings %{?_enable_debug:%optflags_debug} %{optflags_optimization}
@alt@%optflags_default %optflags_core %optflags_warnings %{?_enable_debug:%optflags_debug}%{!?_enable_debug:%{optflags_optimization}}