RT says: libc5 uses __inline__ for its inline stuff, but lcc doesn't support __inline__ but __inline

This commit is contained in:
tg 2012-05-18 01:38:04 +00:00
parent 1eebfa8b85
commit 4c65f518af
1 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.570 2012/05/17 19:36:41 tg Exp $'
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.571 2012/05/18 01:38:04 tg Exp $'
#-
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012
@ -894,6 +894,10 @@ iar)
icc)
vv '|' "$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN $LIBS -V"
;;
lcc)
vv '|' "$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN -v conftest.c $LIBS"
add_cppflags -D__inline__=__inline
;;
metrowerks)
echo >&2 'Warning: Metrowerks C compiler detected. This has not yet
been tested for compatibility with mksh. Continue at your
@ -1452,7 +1456,7 @@ else
#define EXTERN
#define MKSH_INCLUDES_ONLY
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.570 2012/05/17 19:36:41 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.571 2012/05/18 01:38:04 tg Exp $");
int main(void) { printf("Hello, World!\n"); return (0); }
EOF
case $cm in