OpenSSL -mcpu flag

Thomas Trepl ttrepl at yahoo.de
Wed Dec 8 16:28:27 PST 2004


Hi all,

just for discussion: Since the -mcpu flag of gcc seems to be deprecated, we
might sed the Configure script of OpenSSL to get rid of the "-mcpu is
deprecated..." warnings which come up on every call of gcc.

I have added a 

  sed -i "s/-mcpu=/-march=/g" ./Configure

just before the 

  ./config --openssldir=/etc/ssl --prefix=/usr shared

line. It works perfect for me. What do you think?

Cheers,

Thomas (Moody) Trepl
LFS User #3076
ttrepl at yahoo dot de



More information about the blfs-dev mailing list