fix compiler name

git-svn-id: svn://kolibrios.org@1883 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2011-02-21 16:06:28 +00:00
parent 4f5f25a6c2
commit c99ab69377

View File

@ -10,7 +10,7 @@ char buf[32768];
char * __dev_env;
#endif
#define __GNUC__ 3
// version-specific switches
#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 4
#define GCCOPT "-fno-stack-protector -mincoming-stack-boundary=2 "
@ -43,13 +43,13 @@ int main(int argc,char * argv[])
return 1;
}
#if (HAS_DEVENV==1)
sprintf(buf,"win32-gcc -c %s -o %s -Os -nostdinc -fno-builtin -I/dev/env/MENUETDEV/include -fno-pic "
sprintf(buf,"gcc -c %s -o %s -Os -nostdinc -fno-builtin -I/dev/env/MENUETDEV/include -fno-pic "
GCCOPT
"-mno-stack-arg-probe -mpreferred-stack-boundary=2 "
"-fno-common -DMENUETDEV='\"/dev/env/MENUETDEV\"' "
"-D__DEV_CONFIG_H='</dev/env/MENUETDEV/config.h>' -D__MENUETOS__ ",argv[1],argv[2]);
#else
sprintf(buf,"win32-gcc -c %s -o %s -Os -nostdinc -fno-builtin -I%s/include -fno-pic "
sprintf(buf,"gcc -c %s -o %s -Os -nostdinc -fno-builtin -I%s/include -fno-pic "
GCCOPT
"-mno-stack-arg-probe -mpreferred-stack-boundary=2 "
"-fno-common -DMENUETDEV='\"%s\"' "