This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib 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]

[newlib-cygwin] Add define _COMPILING_NEWLIB for arm to configure.host, as it is obviously needed


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=fdc5f5280880b1a31386a713512f092bee5a9a57

commit fdc5f5280880b1a31386a713512f092bee5a9a57
Author: Jaap de Wolff <info@jasoon.nl>
Date:   Mon Feb 12 12:23:41 2018 +0100

    Add define _COMPILING_NEWLIB for arm to configure.host, as it is obviously needed
    
    Signed-off-by: Jaap de Wolff <jaap@stretch.de-wolff.org>

Diff:
---
 newlib/configure.host | 1 +
 1 file changed, 1 insertion(+)

diff --git a/newlib/configure.host b/newlib/configure.host
index eb64586..5985f13 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -410,6 +410,7 @@ case "${host}" in
 	signal_dir=
 	;;
   arm*-*-*)
+	newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
 	sys_dir=arm
 	if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then
 	  have_crt0="no"


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