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:
authorJeff Johnston <jjohnstn@redhat.com>2016-02-25 23:04:19 +0300
committerJeff Johnston <jjohnstn@redhat.com>2016-02-25 23:04:19 +0300
commitb8a88d0b04fbdee0d3437d3ddaaf2bf8f3ceb814 (patch)
tree36e3103e2318b6387252a7e5c45f9c2c1359b126 /newlib/Makefile.am
parent8b1ede3ce11d53292036aadfcfb6043df0235f9c (diff)
Fix _newlib_version.h logic to support building gcc with newlib.
Diffstat (limited to 'newlib/Makefile.am')
-rw-r--r--newlib/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index 9b30cd33e..200bc61bd 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -214,8 +214,7 @@ stmp-targ-include: config.status
-rm -rf targ-include stmp-targ-include
$(MAKE) targ-include/sys \
targ-include/machine \
- targ-include/bits \
- targ-include/newlib.h
+ targ-include/bits
-for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
if [ -f $$i ]; then \
cp $$i targ-include/machine/`basename $$i`; \
@@ -271,6 +270,7 @@ stmp-targ-include: config.status
cp $$i targ-include/machine/`basename $$i`; \
else true; fi ; \
done
+ $(MAKE) targ-include/newlib.h
touch $@
CLEANFILES = stmp-targ-include