-DPLATFORM and -DCFLAGS command line arguments are no longer used.
This commit is contained in:
parent
96821cedd7
commit
9715f4786d
@ -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 ';
|
||||
|
Loading…
Reference in New Issue
Block a user