1
0
forked from 0ad/0ad

Spell nasm options in a way that's compatible with old versions of yasm

This was SVN commit r7893.
This commit is contained in:
Ykkrosh 2010-08-10 19:48:12 +00:00
parent 7eebe05485
commit 9c47c61ea9

View File

@ -522,9 +522,9 @@ static const char* listCppTargets(const char* name)
if (os_is("windows"))
opts = "";
else if (os_is("macosx"))
opts = "-dOS_UNIX=1 ";
opts = "-D OS_UNIX=1 ";
else
opts = "-dDONT_USE_UNDERLINE=1 -dOS_UNIX=1 ";
opts = "-D DONT_USE_UNDERLINE=1 -D OS_UNIX=1 ";
strcat(g_buffer, "nasm "); strcat(g_buffer, opts);
strcat(g_buffer, " -i"); strcat(g_buffer,input_dir );