mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-07 18:09:44 +00:00
use u32 instead, add --with
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@697 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
11
Makefile.pl
11
Makefile.pl
@@ -67,11 +67,14 @@ my @features_keys = (
|
||||
);
|
||||
|
||||
foreach my $l (@ARGV) {
|
||||
if ($l =~ /^--(with|enable)-(.+)$/) {
|
||||
param_set($2, 1);
|
||||
if($l =~ /^--with-([^=]+)=(.+)$/){
|
||||
param_set($1, $2);
|
||||
}
|
||||
elsif ($l =~ /^--(without|disable)-(.+)$/) {
|
||||
param_set($2, 0);
|
||||
elsif ($l =~ /^--(?:with|enable)-(.+)$/) {
|
||||
param_set($1, 1);
|
||||
}
|
||||
elsif ($l =~ /^--(?:without|disable)-(.+)$/) {
|
||||
param_set($1, 0);
|
||||
}
|
||||
elsif ($l =~ /^--target=(.+)$/) {
|
||||
$target = $1;
|
||||
|
||||
Reference in New Issue
Block a user