forked from KolibriOS/kolibrios
fix compiler name
git-svn-id: svn://kolibrios.org@1883 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
4f5f25a6c2
commit
c99ab69377
@ -10,7 +10,7 @@ char buf[32768];
|
|||||||
char * __dev_env;
|
char * __dev_env;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define __GNUC__ 3
|
|
||||||
// version-specific switches
|
// version-specific switches
|
||||||
#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 4
|
#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 4
|
||||||
#define GCCOPT "-fno-stack-protector -mincoming-stack-boundary=2 "
|
#define GCCOPT "-fno-stack-protector -mincoming-stack-boundary=2 "
|
||||||
@ -43,13 +43,13 @@ int main(int argc,char * argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
#if (HAS_DEVENV==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
|
GCCOPT
|
||||||
"-mno-stack-arg-probe -mpreferred-stack-boundary=2 "
|
"-mno-stack-arg-probe -mpreferred-stack-boundary=2 "
|
||||||
"-fno-common -DMENUETDEV='\"/dev/env/MENUETDEV\"' "
|
"-fno-common -DMENUETDEV='\"/dev/env/MENUETDEV\"' "
|
||||||
"-D__DEV_CONFIG_H='</dev/env/MENUETDEV/config.h>' -D__MENUETOS__ ",argv[1],argv[2]);
|
"-D__DEV_CONFIG_H='</dev/env/MENUETDEV/config.h>' -D__MENUETOS__ ",argv[1],argv[2]);
|
||||||
#else
|
#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
|
GCCOPT
|
||||||
"-mno-stack-arg-probe -mpreferred-stack-boundary=2 "
|
"-mno-stack-arg-probe -mpreferred-stack-boundary=2 "
|
||||||
"-fno-common -DMENUETDEV='\"%s\"' "
|
"-fno-common -DMENUETDEV='\"%s\"' "
|
||||||
|
Loading…
Reference in New Issue
Block a user