diff options
Diffstat (limited to 'gcc_arm/config/arm/x-riscix')
-rwxr-xr-x | gcc_arm/config/arm/x-riscix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc_arm/config/arm/x-riscix b/gcc_arm/config/arm/x-riscix new file mode 100755 index 0000000..4584f95 --- /dev/null +++ b/gcc_arm/config/arm/x-riscix @@ -0,0 +1,8 @@ +# Define new names for the getopt library, so that we don't have to statically +# link [un]protoize. We have dirent.h not sys/dir.h, so define POSIX. +X_CFLAGS= -DPOSIX -Dopterr=gcc_opterr -Doptind=gcc_optind \ + -Dgetopt=gcc_getopt -Doptarg=gcc_optarg +# Compile in BSD mode. +OLDCC=/usr/ucb/cc +CC=$(OLDCC) +FIXPROTO_DEFINES= -D_POSIX_SOURCE -D_XOPEN_C -D_BSD_C -D_XOPEN_SOURCE |