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.
This commit is contained in:
Jon Turney 2020-11-19 21:38:47 +00:00
parent 6fbe3254a7
commit 47e698cc04
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
1 changed files with 1 additions and 1 deletions

View File

@ -698,7 +698,7 @@ localtime.patched.c: tzcode/localtime.c tzcode/localtime.c.patch
$(srcdir)/tzcode/localtime.c.patch $(srcdir)/tzcode/localtime.c.patch
localtime.o: tzcode/localtime_wrapper.c localtime.patched.c 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$(target_builddir)/winsup/cygwin \
-I$(srcdir) -I$(srcdir)/tzcode -c -o $@ $< -I$(srcdir) -I$(srcdir)/tzcode -c -o $@ $<