This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA 1/2]: Don't ignore target_header_dir when deciding inhibit_libc


On 10/12/2015 11:58 AM, Ulrich Weigand wrote:

Index: gcc/configure.ac
===================================================================
--- gcc/configure.ac	(revision 228530)
+++ gcc/configure.ac	(working copy)
@@ -1993,7 +1993,7 @@ elif test "x$TARGET_SYSTEM_ROOT" != x; t
  fi

  if test x$host != x$target || test "x$TARGET_SYSTEM_ROOT" != x; then
-  if test "x$with_headers" != x; then
+  if test "x$with_headers" != x && test "x$with_headers" != xyes; then
      target_header_dir=$with_headers
    elif test "x$with_sysroot" = x; then
      target_header_dir="${test_exec_prefix}/${target_noncanonical}/sys-include"

I'm missing the beginning of this conversation, but this looks like a reasonable change (avoiding target_header_dir=yes for --with-headers). So, approved.


Bernd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]