aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/cc_tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cc/cc_tools/Makefile')
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index 8f084c3f3865..9ed40ca691de 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -133,7 +133,7 @@ GENSRCS+= ${COMMONHDRS}
config.h hconfig.h:
echo '#include "auto-host.h"' > ${.TARGET}
- echo '#include "${MACHINE_ARCH}/xm-${MACHINE_ARCH}.h"' >> ${.TARGET}
+ echo '#include "${GCC_ARCH}/xm-${GCC_ARCH}.h"' >> ${.TARGET}
multilib.h:
echo 'static char *multilib_raw[] = { \
@@ -151,13 +151,13 @@ specs.h:
echo '#include "f/lang-specs.h"' >> ${.TARGET}
tconfig.h:
- echo '#include "${MACHINE_ARCH}/xm-${MACHINE_ARCH}.h"' > ${.TARGET}
+ echo '#include "${GCC_ARCH}/xm-${GCC_ARCH}.h"' > ${.TARGET}
tm.h:
- echo '#include "${MACHINE_ARCH}/${MACHINE_ARCH}.h"' > ${.TARGET}
- echo '#include "${MACHINE_ARCH}/freebsd.h"' >> ${.TARGET}
-.if ${MACHINE_ARCH} == "i386"
- echo '#include "${MACHINE_ARCH}/perform.h"' >> ${.TARGET}
+ echo '#include "${GCC_ARCH}/${GCC_ARCH}.h"' > ${.TARGET}
+ echo '#include "${GCC_ARCH}/freebsd.h"' >> ${.TARGET}
+.if ${GCC_ARCH} == "i386"
+ echo '#include "${GCC_ARCH}/perform.h"' >> ${.TARGET}
.endif
#-----------------------------------------------------------------------