On Mon, 13 Jul 2009 16:31:34 +0200, Marcus wrote:

> Hi all.
> 
> In http://fedoraproject.org/wiki/Packaging:RPMMacros#Build_flags_macros
> %{_global_cflags} is set and %{_optflags} references
> %{__global_cflags} (double underscores). Is this correct or should it
> say %{_global_cflags}?

%{optflags} and %{__global_cflags}

$ rpm --eval %optflags
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic 
-fasynchronous-unwind-tables

$ rpm --eval %__global_cflags
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4

-- 
fedora-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Reply via email to