]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: Restore setting CC and CXX Makefile variables
authorJon Turney <jon.turney@dronecode.org.uk>
Tue, 27 Oct 2020 15:31:06 +0000 (15:31 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Wed, 28 Oct 2020 15:23:56 +0000 (15:23 +0000)
commit7fa743ca9468d7725953ebdfb0d0b53ad126c14c
tree7f66a0562fb26646b1e638226ce184a9e1708b87
parentfcaaf40c9d2d6016334426b30086fecd8ecebfd0
Cygwin: Restore setting CC and CXX Makefile variables

b55e3f19 was a bit too aggressive in dropping, rather than just
un-exporting these Makefile variables.  We need to set these to the
configured host compiler if we are cross-compiling, otherwise they
default to the build compiler.

Also export CC to the mkvers.sh script (which requires it since
4eca5e6a).  It's unclear why we can't just cause windres to use the
build 'cpp' as the pre-processor there.
winsup/cygserver/Makefile.in
winsup/cygwin/Makefile.in
winsup/utils/Makefile.in
This page took 0.032979 seconds and 5 git commands to generate.