Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 524324

Summary: dev-db/postgresql-server-9.3.5: make.conf CFLAGS change ignored
Product: Gentoo Linux Reporter: BRULE Herman <alpha_one_x86>
Component: [OLD] ServerAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description BRULE Herman 2014-10-03 00:14:04 UTC
Hello,
Into my /etc/portage/make.conf I was:
CFLAGS="-O2 -fomit-frame-pointer -pipe -march=inative -mfpmath=sse"
Now I have:
CFLAGS="-O2 -fomit-frame-pointer -pipe"
But when I try emerge -av postgresql-server I have:
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib/postgresql-9.3/lib --prefix=/usr/lib/postgresql-9.3 --datadir=/usr/share/postgresql-9.3 --docdir=/usr/share/doc/postgresql-9.3 --sysconfdir=/etc/postgresql-9.3 --includedir=/usr/include/postgresql-9.3 --mandir=/usr/share/postgresql-9.3/man --without-tcl --without-perl --without-readline --without-krb5 --without-gssapi --disable-nls --without-pam --enable-integer-datetimes --without-python --without-openssl --enable-thread-safety --with-zlib --without-ldap build_alias=i686-pc-linux-gnu host_alias=i686-pc-linux-gnu CFLAGS=-march=native -O2 -fomit-frame-pointer -pipe -mfpmath=sse LDFLAGS=-Wl,-O1 -Wl,--as-needed LDFLAGS_EX=-Wl,-O1 -Wl,--as-needed LDFLAGS_SL=-Wl,-O1 -Wl,--as-needed --without-perl --without-tcl --with-libxml --with-libxslt --without-ossp-uuid --with-system-tzdata=/usr/share/zoneinfo --with-includes=/usr/include/postgresql-9.3/ --with-libraries=/usr/lib/postgresql-9.3/lib --disable-nls
Then:
configure: using CFLAGS=-march=native -O2 -fomit-frame-pointer -pipe -mfpmath=sse -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard
What information you need?

Cheers,

Reproducible: Always
Comment 1 BRULE Herman 2014-10-03 00:14:55 UTC
Created attachment 385962 [details]
emerge --info
Comment 2 Michael Orlitzky gentoo-dev 2014-10-03 23:20:26 UTC
Running,

  CFLAGS="larry the cow" emerge -1 postgresql-server

will do much the same thing. This probably belongs assigned to the postgresql herd. Portage itself *is* picking up the change, as emerge --info shows.
Comment 3 Aaron W. Swenson gentoo-dev 2014-10-05 19:22:03 UTC

*** This bug has been marked as a duplicate of bug 484072 ***