Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2021-08-26 23:21:21 +0300
committerCorinna Vinschen <corinna@vinschen.de>2021-08-26 23:21:53 +0300
commit88c0276358687b2790f6970674b09ff40d47cd06 (patch)
tree625e94ea821a2aaa7734e9d7751d9a15433a604d /winsup/utils/Makefile.am
parentbdb7991db38b7bc802f4ef498a16ee850a837f44 (diff)
Cygwin: Allow using CFLAGS also for C++ files
This was used before switching to automake to allow easy tweaking of optimization and debugging settings from the command line during testing. Reenable. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/utils/Makefile.am')
-rw-r--r--winsup/utils/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/utils/Makefile.am b/winsup/utils/Makefile.am
index 135e6143c..e12dfdd00 100644
--- a/winsup/utils/Makefile.am
+++ b/winsup/utils/Makefile.am
@@ -11,6 +11,7 @@ include $(top_srcdir)/Makefile.am.common
CFLAGS_COMMON=-Wimplicit-fallthrough=4 -Werror -D_WIN32_WINNT=0x0a00 -DNTDDI_VERSION=WDK_NTDDI_VERSION
AM_CFLAGS=$(cflags_common) $(CFLAGS_COMMON)
AM_CXXFLAGS=$(cxxflags_common) $(CFLAGS_COMMON)
+AM_CXXFLAGS += $(CFLAGS)
# Note that we call ps cygps here, so as not to collide with the
# autogenerated texinfo rule with the name 'ps'...