jehanne: enable posix and unix functions in configure.host
This commit is contained in:
parent
de37f0ac51
commit
185a319fdc
|
@ -391,9 +391,7 @@ case "${host}" in
|
||||||
sys_dir=jehanne
|
sys_dir=jehanne
|
||||||
syscall_dir=syscalls
|
syscall_dir=syscalls
|
||||||
posix_dir=posix
|
posix_dir=posix
|
||||||
newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED -DMALLOC_PROVIDED"
|
unix_dir=unix
|
||||||
newlib_cflags="${newlib_cflags} -fno-omit-frame-pointer"
|
|
||||||
default_newlib_io_c99_formats="yes"
|
|
||||||
have_crt0="no"
|
have_crt0="no"
|
||||||
;;
|
;;
|
||||||
*-*-netware*)
|
*-*-netware*)
|
||||||
|
@ -587,11 +585,6 @@ esac
|
||||||
# THIS TABLE IS ALPHA SORTED. KEEP IT THAT WAY.
|
# THIS TABLE IS ALPHA SORTED. KEEP IT THAT WAY.
|
||||||
|
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
*-*-jehanne*)
|
|
||||||
test -z "$jehanne_srcdir" && jehanne_srcdir=`cd ${srcdir}/libc/sys/jehanne; pwd`
|
|
||||||
export jehanne_srcdir
|
|
||||||
CC="${CC} -I${jehanne_srcdir}/include"
|
|
||||||
;;
|
|
||||||
*-*-cygwin*)
|
*-*-cygwin*)
|
||||||
test -z "$cygwin_srcdir" && cygwin_srcdir=`cd ${srcdir}/../winsup/cygwin; pwd`
|
test -z "$cygwin_srcdir" && cygwin_srcdir=`cd ${srcdir}/../winsup/cygwin; pwd`
|
||||||
export cygwin_srcdir
|
export cygwin_srcdir
|
||||||
|
@ -603,6 +596,15 @@ case "${host}" in
|
||||||
newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_BLKSIZE -DHAVE_FCNTL -DMALLOC_PROVIDED"
|
newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_BLKSIZE -DHAVE_FCNTL -DMALLOC_PROVIDED"
|
||||||
syscall_dir=syscalls
|
syscall_dir=syscalls
|
||||||
;;
|
;;
|
||||||
|
*-*-jehanne*)
|
||||||
|
test -z "$jehanne_srcdir" && jehanne_srcdir=`cd ${srcdir}/libc/sys/jehanne; pwd`
|
||||||
|
export jehanne_srcdir
|
||||||
|
default_newlib_io_c99_formats="yes"
|
||||||
|
CC="${CC} -I${jehanne_srcdir}/include"
|
||||||
|
newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED -DMALLOC_PROVIDED"
|
||||||
|
newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN -D_NO_GETCWD -D_NO_GETPASS -D_NO_GETUT -D_NO_PWRITE -D_NO_PREAD"
|
||||||
|
newlib_cflags="${newlib_cflags} -fno-omit-frame-pointer"
|
||||||
|
;;
|
||||||
*-*-phoenix*)
|
*-*-phoenix*)
|
||||||
newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES -D_COMPILING_NEWLIB -DHAVE_BLKSIZE -DHAVE_NANOSLEEP"
|
newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES -D_COMPILING_NEWLIB -DHAVE_BLKSIZE -DHAVE_NANOSLEEP"
|
||||||
default_newlib_io_long_long="yes"
|
default_newlib_io_long_long="yes"
|
||||||
|
|
Loading…
Reference in New Issue