summaryrefslogtreecommitdiff
path: root/gcc/config/arm/riscix.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/arm/riscix.h')
-rw-r--r--gcc/config/arm/riscix.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/config/arm/riscix.h b/gcc/config/arm/riscix.h
index 9d5ff7e309d..faa99ba9787 100644
--- a/gcc/config/arm/riscix.h
+++ b/gcc/config/arm/riscix.h
@@ -127,11 +127,9 @@ Boston, MA 02111-1307, USA. */
/* The RISCiX assembler does not understand .set */
#undef SET_ASM_OP
-/* Override CPP_SPEC, there's no point handling endianness (and probably
- not much point handling apcs_pc), and we want to add the right #defines
- when using the include files. */
-#undef CPP_SPEC
-#define CPP_SPEC "%(cpp_cpu_arch) %(cpp_apcs_pc) %(cpp_float) \
+/* Add to CPP_SPEC, we want to add the right #defines when using the include
+ files. */
+#define SUBTARGET_CPP_SPEC "\
%{mbsd:%{pedantic:%e-mbsd and -pedantic incompatible} -D_BSD_C} \
%{mxopen:%{mbsd:%e-mbsd and -mxopen incompatible} \
%{pedantic:%e-mxopen and -pedantic incompatible} -D_XOPEN_C} \