Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378657 - dev-perl/Net-SSLeay does not respect CFLAGS
Summary: dev-perl/Net-SSLeay does not respect CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-10 13:29 UTC by Agostino Sarubbo
Modified: 2012-07-15 17:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2011-08-10 13:29:30 UTC
i686-pc-linux-gnu-gcc -c  -I/usr/include -I/usr/inc32 -I/usr/kerberos/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"1.36\" -DXS_VERSION=\"1.36\" -fPIC "-I/usr/lib/perl5/5.12.3/i686-linux/CORE"   SSLeay.c

Please drop -pipe -O2 -g and add patch to respect user cflags.
Comment 1 Thomas Sachau gentoo-dev 2012-02-27 18:02:01 UTC
It also hardcodes the libdir, which causes failure, when you try to cross-compile for 32bit on amd64:

LD_RUN_PATH="/usr/lib" x86_64-pc-linux-gnu-gcc  -shared -march=native -O2 -pipe -m32 -Wl,--as-needed -Wl,--hash-style=gnu -m32 SSLeay.o -Wl,--as-needed -Wl,--hash-style=gnu -m32 -o blib/arch/auto/Net/SSLeay/SSLeay.so        \
   -L/usr -L/usr/lib -lssl -lcrypto -lz
Comment 2 Anthony Basile gentoo-dev 2012-05-17 00:20:26 UTC
This is related to bug #416339 where I propose a fix to the libdir issue.
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2012-07-15 17:43:43 UTC
Fixed in 0.480.0-r1

Thanks