mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Fix cross compilation after r258428.
Reviewed by: pfg
This commit is contained in:
parent
481da845ce
commit
bf043cea3c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258445
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user