diff options
author | huderlem <huderlem@gmail.com> | 2020-02-15 09:06:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-15 09:06:38 -0600 |
commit | 74e171579e0bbefbd72b83f3764fe504464bbdbe (patch) | |
tree | 8db5aacbe963fef56eb2d9965fc87db1a6642387 /gcc_arm/config/arm/x-riscix | |
parent | 27176890c4a688ea7de44d3f55af32827016a9fd (diff) | |
parent | c6bcd24dfe44d58ed1b6bef6653270dbf6cd6bfa (diff) |
Merge pull request #30 from camthesaxman/arm_support
Build ARM compiler
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 |