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:
authorChristopher Faylor <me@cgf.cx>2002-07-07 04:42:09 +0400
committerChristopher Faylor <me@cgf.cx>2002-07-07 04:42:09 +0400
commit9d6ac548749cbdab1a5200656ecae34fce78673f (patch)
treee7d4269642b8267a01ca5a122cfb107556c27fb6 /winsup/Makefile.common
parenta635af7c2a7a58750ad9649f6fbcc771af1b611f (diff)
* Makefile.common (MINGW_INCLUDES): Simplify.
(MINGW_CFLAGS): New. (MINGW_CXXFLAGS): Ditto.
Diffstat (limited to 'winsup/Makefile.common')
-rw-r--r--winsup/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/Makefile.common b/winsup/Makefile.common
index d80d9748f..b5bf09a7b 100644
--- a/winsup/Makefile.common
+++ b/winsup/Makefile.common
@@ -88,7 +88,9 @@ ifdef CONFIG_DIR
INCLUDES+=-I$(CONFIG_DIR)
endif
-MINGW_INCLUDES:=-I$(updir)/mingw/include $(INCLUDES)
+MINGW_INCLUDES:=-I$(updir)/mingw/include $(w32api_include)
+MINGW_CFLAGS:=-mno-cygwin $(MINGW_INCLUDES)
+MINGW_CXXFLAGS:=${filter-out $(newlib_source)/%,$(CXXFLAGS)} -mno-cygwin $(MINGW_INCLUDES)
GCC_DEFAULT_OPTIONS:=$(CFLAGS_COMMON) $(CFLAGS_CONFIG) $(INCLUDES)