Fix cross compilation after r258428.

Reviewed by:	pfg
This commit is contained in:
Andreas Tobler 2013-11-21 21:05:11 +00:00
parent 481da845ce
commit bf043cea3c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258445
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ CFLAGS+= -DPREFIX=\"${TOOLS_PREFIX}/usr\"
CSTD?= gnu89
.if ${TARGET_ARCH} != ${MACHINE_ARCH}
CFLAGS+= -DCROSS_COMPILE
CFLAGS+= -DCROSS_DIRECTORY_STRUCTURE
.endif
.if ${TARGET_CPUARCH} == "arm" && ${MK_ARM_EABI} != "no"

View File

@ -18,7 +18,7 @@
#define GPLUSPLUS_INCLUDE_DIR PREFIX"/include/c++/"GCCVER
#define GPLUSPLUS_BACKWARD_INCLUDE_DIR PREFIX"/include/c++/"GCCVER"/backward"
#define GCC_INCLUDE_DIR PREFIX"/include/gcc/"GCCVER
#ifdef CROSS_COMPILE
#ifdef CROSS_DIRECTORY_STRUCTURE
#define CROSS_INCLUDE_DIR PREFIX"/include"
#else
#define STANDARD_INCLUDE_DIR PREFIX"/include"