[Mageia-dev] [usrmove] Help building some unbuildable packages: db51 & grub

Christiaan Welvaart cjw at daneel.dyndns.org
Thu Jul 19 14:53:17 CEST 2012


On Thu, 19 Jul 2012, Shlomi Fish wrote:

> Now it seems everything builds fine if I only remove the
> "-fno-tree-dominator-opts" flag. However, I see in the SPEC this:
>
> [Q]
> # -fno-tree-ccp -fno-tree-dominator-opts to avoid breakage in src/bt_dup.c
> # -fno-tree-pre -fno-tree-pta to avoid breakage in src/hash_page.c
> CFLAGS="$RPM_OPT_FLAGS -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-pre -fno-tree-pta"
> %ifarch ppc
> CFLAGS="$CFLAGS -D_GNU_SOURCE -D_REENTRANT"
> %endif
> export CFLAGS
> [/Q]
>
> So can I safely remove that flag? /me is scared of the consequences.

The change was imported from mdv's db51-5.1.25-1, removed there probably 
in 5.1.25-5 . So yes, remove those 3 lines, plus the next 3 for ppc, and 
then the "export CFLAGS" can also be dropped I guess.


     Christiaan


More information about the Mageia-dev mailing list