would be nice to rewrite %_mingw32_cflags to %__global_cflags

-------- Original Message --------
Subject: Re: %{_global_cflags}
Date: Mon, 13 Jul 2009 17:17:00 +0200
From: Michael Schwendt <[email protected]>
Reply-To: Development discussions related to Fedora
<[email protected]>
To: Development discussions related to Fedora <[email protected]>
References: <[email protected]>

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

-- 
  Levente                               "Si vis pacem para bellum!"
_______________________________________________
fedora-mingw mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw

Reply via email to