97ad1d43e9
* i386/t-interix: Use mostly system headers unchanged. Use system assert.h * fixinc/fixinc.interix: Ditto (make almost no-op). * config/x-interix.h (_ALL_SOURCE): add -D * config/x-interix.h (crti.o): Delete dependency. * config/xm-interix.h (ONLY_INT_FIELDS): Define only when bootstrapping. * i386/xm-i386-interix.h: New file. * i386/interix.h (ASM_OUTPUT_LIMITED_STRING): Fix warnings. * i386/i386-interix.h: Renamed from interix.h. * configure.in (interix): Use new files. * configure: Rebuilt. From-SVN: r26332
25 lines
656 B
Plaintext
25 lines
656 B
Plaintext
# These are host overrides
|
|
# From config dir
|
|
|
|
# Interix doesn't yet have alloca; it's better to use the portable C version for
|
|
# bootstrapping. Do this by defining ALLOCA.
|
|
|
|
ALLOCA = alloca.o
|
|
|
|
# See all the declarations.
|
|
FIXPROTO_DEFINES = -D_XOPEN_SOURCE
|
|
|
|
# Don't run fixproto
|
|
STMP_FIXPROTO =
|
|
RANLIB = :
|
|
RANLIB_TEST = false
|
|
SHELL = sh
|
|
|
|
# Existing CC/GCC may not define -D__INTERIX, so need this here.
|
|
# Since we want to configure with _ALL_SOURCE, we need to build that way too
|
|
X_CFLAGS= -D__INTERIX -D_ALL_SOURCE
|
|
|
|
LIBGCC2_INCLUDES = -idirafter $${INTERIX_ROOT}/usr/include
|
|
# Headers come from a funny place
|
|
SYSTEM_HEADER_DIR=$${INTERIX_ROOT}/usr/include
|