Remove CPU preprocessing which is unneeded for STK
This commit is contained in:
parent
db5d1420f9
commit
b928ecf24c
@ -898,7 +898,8 @@ plus:
|
|||||||
mkdep |= MD_MKDEP;
|
mkdep |= MD_MKDEP;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#if SYS_FAMILY == SYS_UNIX
|
// CPU code useless in STK
|
||||||
|
#if 0 //SYS_FAMILY == SYS_UNIX
|
||||||
case 'm':
|
case 'm':
|
||||||
if (str_eq( mcpp_optarg, "64")) { /* -m64 */
|
if (str_eq( mcpp_optarg, "64")) { /* -m64 */
|
||||||
if (str_eq( CPU, "i386"))
|
if (str_eq( CPU, "i386"))
|
||||||
@ -1286,6 +1287,7 @@ Version:
|
|||||||
/* Search framework[] next to the directory */
|
/* Search framework[] next to the directory */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0 // CPU code useless in STK
|
||||||
#if COMPILER == GNUC && SYSTEM == SYS_MAC
|
#if COMPILER == GNUC && SYSTEM == SYS_MAC
|
||||||
if (arch[ 0]) { /* -arch option has been specified */
|
if (arch[ 0]) { /* -arch option has been specified */
|
||||||
if (((str_eq( CPU, "i386") || str_eq( CPU, "x86_64"))
|
if (((str_eq( CPU, "i386") || str_eq( CPU, "x86_64"))
|
||||||
@ -1305,6 +1307,7 @@ Version:
|
|||||||
#if COMPILER != GNUC
|
#if COMPILER != GNUC
|
||||||
init_cpu_macro( gval, sse);
|
init_cpu_macro( gval, sse);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if COMPILER == GNUC
|
#if COMPILER == GNUC
|
||||||
if (sysdir < sysdir_end) {
|
if (sysdir < sysdir_end) {
|
||||||
@ -1370,11 +1373,7 @@ static void version( void)
|
|||||||
/* Write messages here, for example, "MySomeTool with ". */
|
/* Write messages here, for example, "MySomeTool with ". */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef VERSION_MSG
|
"MCPP V.2.7.2-stk (", DATE, ") "
|
||||||
"MCPP V.2.7.2-ned (2017/02) "
|
|
||||||
#else
|
|
||||||
"MCPP V.", VERSION, "-ned (", DATE, ") "
|
|
||||||
#endif
|
|
||||||
#if COMPILER == INDEPENDENT
|
#if COMPILER == INDEPENDENT
|
||||||
, "compiler-independent-build "
|
, "compiler-independent-build "
|
||||||
#else
|
#else
|
||||||
@ -1812,7 +1811,8 @@ static void chk_opts(
|
|||||||
/* Set function pointer to macro expansion routine */
|
/* Set function pointer to macro expansion routine */
|
||||||
}
|
}
|
||||||
|
|
||||||
#if COMPILER != GNUC
|
// CPU code useless in STK
|
||||||
|
#if 0//COMPILER != GNUC
|
||||||
|
|
||||||
static void init_cpu_macro (
|
static void init_cpu_macro (
|
||||||
int gval, /* Argument of -G option for MSC */
|
int gval, /* Argument of -G option for MSC */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user