diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-11-19 21:38:47 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2020-11-25 13:34:07 +0000 |
commit | 47e698cc04109a188d8bba6be8f7fe2e307410a4 (patch) | |
tree | c4bf2ab9097e15b9b0cffd3670d4a2173458cd1a | |
parent | 6fbe3254a710d2596792abf5a62066363b940c5f (diff) | |
download | cygnal-47e698cc04109a188d8bba6be8f7fe2e307410a4.tar.gz cygnal-47e698cc04109a188d8bba6be8f7fe2e307410a4.tar.bz2 cygnal-47e698cc04109a188d8bba6be8f7fe2e307410a4.zip |
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.
-rw-r--r-- | winsup/cygwin/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 $@ $< |