Summary: | media-libs/libvpx injects extra compiler flags | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | [OLD] Library | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 323727 |
Description
Jeroen Roovers (RETIRED)
2010-06-13 17:33:34 UTC
(In reply to comment #0) > The configure script injects extra CFLAGS (-O3, -Wtype-limits and -Wcast-qual). -O3 matters; -W* do not and I think it is unnecessary to disable them. (In reply to comment #1) > (In reply to comment #0) > > The configure script injects extra CFLAGS (-O3, -Wtype-limits and -Wcast-qual). > > -O3 matters; -W* do not and I think it is unnecessary to disable them. > Rah, sorry, I didn't see the comment in the diff; are those -W* stuff new in gcc 4.3 ? with libvpx-9999 I get flags like that: x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/media-libs/libvpx-9999/work/libvpx-9999/vp8 -I/var/tmp/portage/media-libs/libvpx-9999/work/libvpx-9999/vp8 -I/var/tmp/portage/media-libs/libvpx-9999/work/libvpx-9999/vp9 -I/var/tmp/portage/media-libs/libvpx-9999/work/libvpx-9999/vp9 -march=native -mssse3 -msse4 -msse4.1 -msse4.2 -mavx -maes -O2 -pipe -ggdb -m64 -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=native -mssse3 -msse4 -msse4.1 -msse4.2 -mavx -maes -O2 -pipe -ggdb -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -Wunused-but-set-variable -Wno-unused-function -I. -I"/var/tmp/portage/media-libs/libvpx-9999/work/libvpx-9999" -c -o vp8cx_set_ref.c.o vp8cx_set_ref.c it injects -O3 but is overriden by my CFLAGS -> not a problem. -W* flags are checked at configure -> not a prolem either. fixed. |