[BACK]Return to patch-configure CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / cross / xtensa-esp32-elf-gcc / patches

File: [cvs.NetBSD.org] / pkgsrc / cross / xtensa-esp32-elf-gcc / patches / patch-configure (download)

Revision 1.1, Sun Mar 24 11:58:04 2019 UTC (14 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, HEAD

xtensa-esp32-elf-gcc: import xtensa-esp32-elf-gcc-8.2.0

Cross GCC for Espressif ESP32 bare metal environment.

$NetBSD: patch-configure,v 1.1 2019/03/24 11:58:04 tnn Exp $

XXX fails in libgcc build without this.
It is not clear to me what is supposed to create targ-include/ ...

--- configure.orig	2018-07-26 09:48:58.000000000 +0000
+++ configure
@@ -7551,7 +7551,7 @@ case " $target_configdirs " in
       # If we're building newlib, use its generic headers last, but search
       # for any libc-related directories first (so make it the last -B
       # switch).
-      FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
+      FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/sys/xtensa/include -isystem $$s/newlib/libc/include'
 
       # If we're building libgloss, find the startup file, simulator library
       # and linker script.