[CentOS] compile paramaters

Philip Manuel phil at zomojo.com
Sat Aug 10 06:16:28 UTC 2013



----- Original Message -----
From: "Ljubomir Ljubojevic" <centos at plnet.rs>
To: "CentOS mailing list" <centos at centos.org>
Sent: Friday, 9 August, 2013 9:50:21 PM
Subject: Re: [CentOS] compile paramaters

On 08/09/2013 12:54 PM, Rita wrote:
> hi,
>
> I am trying to find out what compile flags and environment variables were
> used when compiling the python package. Is there an easy way of figuring
> this out? perhaps a website which shows the RPM specs?
>
>

You can download and unpack src.rpm pf the python package and look at 
.spec file, it should be there.

-- 
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos

Hi 

I used

export CPPFLAGS=-I/usr/lib64/libffi-3.0.5/include
export CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv
./configure --prefix=/usr/local --includedir=/usr/include --enable-unicode=ucs4 --enable-shared --with-system-ffi --with-system-expat --with-valgrind

When compiling python 2.7



More information about the CentOS mailing list