public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Jon TURNEY <jturney@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: Use standard CXXFLAGS when compiling localtime_wrapper.c Date: Wed, 25 Nov 2020 13:35:42 +0000 (GMT) [thread overview] Message-ID: <20201125133542.CF58B384400F@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=47e698cc04109a188d8bba6be8f7fe2e307410a4 commit 47e698cc04109a188d8bba6be8f7fe2e307410a4 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Thu Nov 19 21:38:47 2020 +0000 Cygwin: Use standard CXXFLAGS when compiling localtime_wrapper.c This has an separate, explicit compilation rule which omits CXXFLAGS, so expected flags like '-g -O2' aren't being used. Diff: --- winsup/cygwin/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index ccff86eea..b15c746cf 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -698,7 +698,7 @@ localtime.patched.c: tzcode/localtime.c tzcode/localtime.c.patch $(srcdir)/tzcode/localtime.c.patch localtime.o: tzcode/localtime_wrapper.c localtime.patched.c - $(CC) ${COMMON_CFLAGS} ${localtime_CFLAGS} \ + $(CC) $(CXXFLAGS) ${COMMON_CFLAGS} ${localtime_CFLAGS} \ -I$(target_builddir)/winsup/cygwin \ -I$(srcdir) -I$(srcdir)/tzcode -c -o $@ $<
reply other threads:[~2020-11-25 13:35 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20201125133542.CF58B384400F@sourceware.org \ --to=jturney@sourceware.org \ --cc=cygwin-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).