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:
parent
6fbe3254a7
commit
47e698cc04
|
@ -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 $@ $<
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue