diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-06-05 15:09:40 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-06-05 15:09:40 +0000 |
commit | f01f085cb9195ae8832dced7568b8b3ff045cebe (patch) | |
tree | 4a2a52207d0ad82fce7fe6374bbd7fb945db7fe3 /util | |
parent | bca68e90ccb4bca4699a8ae7183ac4d26fd7c60a (diff) |
Configure options of form -Dfoo=bar should get added to CFLAGS in mk1mf.pl
Diffstat (limited to 'util')
-rwxr-xr-x | util/mk1mf.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/mk1mf.pl b/util/mk1mf.pl index 2b129ff36b..7ba804ce33 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -1102,7 +1102,7 @@ sub read_options } } } - elsif (/^([^=]*)=(.*)$/){ $VARS{$1}=$2; } + elsif (/^([^=]*)=(.*)$/ && !/^-D/){ $VARS{$1}=$2; } elsif (/^-[lL].*$/) { $l_flags.="$_ "; } elsif ((!/^-help/) && (!/^-h/) && (!/^-\?/) && /^-.*$/) { $c_flags.="$_ "; } |