From 372896ff415056ea9a610259a610d342efb9a104 Mon Sep 17 00:00:00 2001 From: Giacomo Tesio Date: Wed, 19 Apr 2017 17:03:53 +0200 Subject: [PATCH] gcc: posix include directories under /sys/posix/ --- cross/patch/gcc/gcc/config/jehanne.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cross/patch/gcc/gcc/config/jehanne.h b/cross/patch/gcc/gcc/config/jehanne.h index 9dc2aac..71f48d7 100644 --- a/cross/patch/gcc/gcc/config/jehanne.h +++ b/cross/patch/gcc/gcc/config/jehanne.h @@ -30,10 +30,10 @@ #define MD_STARTFILE_PREFIX "/arch/amd64/lib/" #undef GPLUSPLUS_INCLUDE_DIR -#define GPLUSPLUS_INCLUDE_DIR "/posix/include/g++" +#define GPLUSPLUS_INCLUDE_DIR "/sys/posix/g++" #undef GCC_INCLUDE_DIR -#define GCC_INCLUDE_DIR "/posix/include/gcc" +#define GCC_INCLUDE_DIR "/sys/posix/gcc" /* Architecture specific header (u.h) goes here (from config.gcc) */ #define ARCH_INCLUDE_DIR NATIVE_SYSTEM_HEADER_DIR @@ -41,15 +41,15 @@ /* The default include dir is /sys/include but... */ #define PORTABLE_INCLUDE_DIR "/sys/include" -/* ...we have to wrap libc.h and stdio.h with POSIX headers */ -#define POSIX_INCLUDE_DIR "/sys/include/apw" +/* ...we have to wrap libc.h and stdio.h with basic POSIX headers */ +#define BASIC_POSIX_INCLUDE_DIR "/sys/include/apw" #undef INCLUDE_DEFAULTS #define INCLUDE_DEFAULTS \ { \ { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1, 1, 0 }, \ { GCC_INCLUDE_DIR, 0, 0, 0, 1, 0 }, \ - { POSIX_INCLUDE_DIR, 0, 0, 0, 1, 0 }, \ + { BASIC_POSIX_INCLUDE_DIR, 0, 0, 0, 1, 0 }, \ { ARCH_INCLUDE_DIR, 0, 0, 0, 1, 0 }, \ { PORTABLE_INCLUDE_DIR, 0, 0, 0, 1, 0 }, \ { ".", 0, 0, 0, 1, 0 }, \