Hi, 

the config/Configure script takes "unknown" flags that it finds on the
command line and puts them through, as compiler flags. 

However, those flags will appear _before_ any compiler flags that are
hardwired in Configure. It is not possible to override them without
patching Configure. 

Since I believe that is the wrong order of things, I attach a patch that
reverses it (applies both to 0.9.6 and 0.9.7).

(I am the only one having this problem? If yes, what did I miss?)

Peter

-- 
Thought is limitation. Free your mind.
diff -uNr openssl-engine-0.9.6d.orig/Configure openssl-engine-0.9.6d.cflags/Configure
--- openssl-engine-0.9.6d.orig/Configure        Fri May 10 01:26:24 2002
+++ openssl-engine-0.9.6d.cflags/Configure      Tue Jul 16 13:06:57 2002
@@ -797,7 +797,7 @@
 my $shared_extension = $fields[$idx_shared_extension];
 my $ranlib = $fields[$idx_ranlib];
 
-$cflags="$flags$cflags" if ($flags ne "");
+$cflags="$cflags $flags" if ($flags ne "");
 
 # The DSO code currently always implements all functions so that no
 # applications will have to worry about that from a compilation point

Attachment: msg13840/pgp00000.pgp
Description: PGP signature

Reply via email to