提交 9715f478 编写于 作者: B Bodo Möller

-DPLATFORM and -DCFLAGS command line arguments are no longer used.

上级 96821ced
......@@ -730,8 +730,6 @@ sub cc_compile_target
local($target,$source,$ex_flags)=@_;
local($ret);
# EAY EAY
$ex_flags.=' -DCFLAGS="\"$(CC) $(CFLAG)\"" -DPLATFORM="\"$(PLATFORM)\""' if ($source =~ /cversion/ and $dcflags ne 'n');
$target =~ s/\//$o/g if $o ne "/";
$source =~ s/\//$o/g if $o ne "/";
$ret ="$target: \$(SRC_D)$o$source\n\t";
......
......@@ -20,7 +20,6 @@ $tmp_def="tmp32";
$inc_def="inc32";
#enable max error messages, disable most common warnings
$cflags="-DWIN32_LEAN_AND_MEAN -j255 -w-aus -w-par -w-inl -c -tWC -tWM -DWINDOWS -DWIN32 -DL_ENDIAN ";
$dcflags='n';
if ($debug)
{
$cflags.="-Od -y -v -vi- -D_DEBUG";
......
......@@ -20,7 +20,6 @@ if ($debug)
{ $cflags="-g2 -ggdb"; }
else
{ $cflags="-O3 -fomit-frame-pointer"; }
$dcflags='n'; # Make can't handle -DCFLAGS definition
$obj='.o';
$ofile='-o ';
......
......@@ -14,7 +14,6 @@ if ($debug)
{ $cflags="-g2 -ggdb"; }
else
{ $cflags="-O3 -fomit-frame-pointer"; }
$dcflags='n'; # Make can't handle -DCFLAGS definition
$obj='.o';
$ofile='-o ';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册