summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-06-05 15:09:40 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-06-05 15:09:40 +0000
commitf01f085cb9195ae8832dced7568b8b3ff045cebe (patch)
tree4a2a52207d0ad82fce7fe6374bbd7fb945db7fe3 /util
parentbca68e90ccb4bca4699a8ae7183ac4d26fd7c60a (diff)
Configure options of form -Dfoo=bar should get added to CFLAGS in mk1mf.pl
Diffstat (limited to 'util')
-rwxr-xr-xutil/mk1mf.pl2
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.="$_ "; }