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

Bug 569266

Summary: perl modules: compiler settings not respected
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: [OLD] DevelopmentAssignee: Gentoo Perl team <perl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description SpanKY gentoo-dev 2015-12-23 05:31:56 UTC
if i run:
$ CFLAGS='-O2 -DMY_CFLAGS' CPPFLAGS='-DMY_CPPFLAGS' emerge IO-AIO
...
x86_64-pc-linux-gnu-gcc -c   -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=amdfam10 -pipe -g -frecord-gcc-switches -Wimplicit-function-declaration   -DVERSION=\"4.32\" -DXS_VERSION=\"4.32\" -fPIC "-I/usr/lib64/perl5/5.22.0/x86_64-linux-thread-multi/CORE"   AIO.c
...

it does not use these CFLAGS/CPPFLAGS.  instead, it uses the settings that perl itself was apparently compiled with.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2015-12-23 06:24:53 UTC

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