mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 16:10:50 +00:00
new constant
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@252 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -2,31 +2,37 @@
|
||||
# $Id$
|
||||
|
||||
my $target = "nt";
|
||||
my @cmd = ();
|
||||
my @cmd = ();
|
||||
push(@cmd, "-I$ENV{WATCOM}/h");
|
||||
push(@cmd, "-I$ENV{WATCOM}/h/nt");
|
||||
push(@cmd, "-DSTBI_NO_SIMD");
|
||||
foreach my $f (@ARGV){
|
||||
if($f eq "-static-libgcc"){
|
||||
next;
|
||||
}elsif($f =~ /^-Wl,--out-implib,(.+)$/){
|
||||
push(@cmd, "-Wl,option implib=$1");
|
||||
next;
|
||||
}elsif($f =~ /^-W.+$/){
|
||||
next;
|
||||
}elsif($f =~ /^-L(.+)$/){
|
||||
push(@cmd, "-Wl,libpath $1");
|
||||
next;
|
||||
}elsif($f eq "-lMw"){
|
||||
push(@cmd, "-lMw");
|
||||
next;
|
||||
}elsif($f =~ /^-l(.+)$/){
|
||||
push(@cmd, "$1.lib");
|
||||
next;
|
||||
}elsif($f =~ /^(?:oo)?src\//){
|
||||
$target = "nt_dll";
|
||||
}
|
||||
push(@cmd, $f);
|
||||
foreach my $f (@ARGV) {
|
||||
if ($f eq "-static-libgcc") {
|
||||
next;
|
||||
}
|
||||
elsif ($f =~ /^-Wl,--out-implib,(.+)$/) {
|
||||
push(@cmd, "-Wl,option implib=$1");
|
||||
next;
|
||||
}
|
||||
elsif ($f =~ /^-W.+$/) {
|
||||
next;
|
||||
}
|
||||
elsif ($f =~ /^-L(.+)$/) {
|
||||
push(@cmd, "-Wl,libpath $1");
|
||||
next;
|
||||
}
|
||||
elsif ($f eq "-lMw") {
|
||||
push(@cmd, "-lMw");
|
||||
next;
|
||||
}
|
||||
elsif ($f =~ /^-l(.+)$/) {
|
||||
push(@cmd, "$1.lib");
|
||||
next;
|
||||
}
|
||||
elsif ($f =~ /^(?:oo)?src\//) {
|
||||
$target = "nt_dll";
|
||||
}
|
||||
push(@cmd, $f);
|
||||
}
|
||||
|
||||
unshift(@cmd, "-b$target");
|
||||
|
||||
Reference in New Issue
Block a user