How to specify an architecture for Configure?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to specify an architecture for Configure?

Jeffrey Walton-3
Hi All,

How does one specify and architecture for Configure?

openssl-1.0.1-stable-SNAP-20130119$ ./Configure linux-generic32
-no-sslv2 -no-sslv3 -no-comp -no-dso -no-hw
--openssldir=/usr/local/ssl/linux-x86 CFLAGS="-march=i686"
target already defined - linux-generic32 (offending arg: CFLAGS=-march=i686)
openssl-1.0.1-stable-SNAP-20130119$

Jeff
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: How to specify an architecture for Configure?

Ben Laurie-2
On 20 January 2013 00:09, Jeffrey Walton <[hidden email]> wrote:
> Hi All,
>
> How does one specify and architecture for Configure?

I don't think there is an approved way to do it in general. Probably
you have to edit Configure to specify a new target.

However, your problem appears to be that you can';t put CFLAGS= on the
command line - you need to set it in the environment (i.e. Configure
is not make!).

>
> openssl-1.0.1-stable-SNAP-20130119$ ./Configure linux-generic32
> -no-sslv2 -no-sslv3 -no-comp -no-dso -no-hw
> --openssldir=/usr/local/ssl/linux-x86 CFLAGS="-march=i686"
> target already defined - linux-generic32 (offending arg: CFLAGS=-march=i686)
> openssl-1.0.1-stable-SNAP-20130119$
>
> Jeff
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [hidden email]
> Automated List Manager                           [hidden email]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]