Configure: pass -no-integrated-as.
authorAndy Polyakov <appro@openssl.org>
Wed, 14 Mar 2018 08:42:42 +0000 (09:42 +0100)
committerAndy Polyakov <appro@openssl.org>
Mon, 19 Mar 2018 13:31:30 +0000 (14:31 +0100)
Occasionally you have to pass -no-integrated-as to clang, but we
consider any -no-option as no-option. Don't touch -no-integrated-as.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5613)

Configure

index 8efd8bfb0c77a4c63a29a839c4a3b5bf42fdfb8b..9b89f60790d9289241aee106dd476d2d36199e50 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -638,7 +638,9 @@ while (@argvcopy)
                {
                s/^([^=]*)/lc($1)/e;
                }
-       s /^-no-/no-/; # some people just can't read the instructions
+
+       # some people just can't read the instructions, clang people have to...
+       s/^-no-(?!integrated-as)/no-/;
 
        # rewrite some options in "enable-..." form
        s /^-?-?shared$/enable-shared/;