Configure options of form -Dfoo=bar should get added to CFLAGS in mk1mf.pl
This commit is contained in:
parent
bca68e90cc
commit
f01f085cb9
@ -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.="$_ "; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user