Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-09 06:22:27 +0300
committerMike Frysinger <vapier@gentoo.org>2021-11-16 03:32:23 +0300
commit6226bad0eafe762b811c62d1dc096bc0858b0d1a (patch)
treec562d49dd744371d64648c1d8414090fa35331ef /newlib/configure.host
parent2b28977149b1e8858b597890906f21cdecde84ce (diff)
change _COMPILING_NEWLIB to _LIBC
Use the same name as glibc & gnulib to indicate "newlib itself is being compiled". This also harmonizes the codebase a bit in that _LIBC was already used in places instead of _COMPILING_NEWLIB. Building for bfin-elf, mips-elf, and x86_64-pc-cygwin produces the same object code.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index e737f73f5..c429dde1c 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -54,7 +54,7 @@
# have_init_fini have init/fini ("yes" or "no", set to "yes" by default)
# noinclude list of include files to not install
-newlib_cflags="-D_COMPILING_NEWLIB"
+newlib_cflags="-D_LIBC"
libm_machine_dir=
machine_dir=
shared_machine_dir=