summaryrefslogtreecommitdiffstats
path: root/winsup/Makefile.common
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2002-12-12 10:34:12 +0000
committerCorinna Vinschen <corinna@vinschen.de>2002-12-12 10:34:12 +0000
commit24f7d30fa9fe63de4e13aa36f36c04afc6f7290b (patch)
tree2f48c462c496ab6a563ee68cd39036eb0da21385 /winsup/Makefile.common
parenta6af7dbdc3eccbfb9e68da43eb4a8d2cc59b7c4c (diff)
downloadcygnal-24f7d30fa9fe63de4e13aa36f36c04afc6f7290b.tar.gz
cygnal-24f7d30fa9fe63de4e13aa36f36c04afc6f7290b.tar.bz2
cygnal-24f7d30fa9fe63de4e13aa36f36c04afc6f7290b.zip
* Makefile.common: Define MINGW_LDFLAGS.
* configure.in: Reorder SUBDIRS to have mingw before cygwin. * configure: Regenerate from configure.in. * cygwin/Makefile.in: Add MINGW_LDFLAGS when linking cygrun.exe.
Diffstat (limited to 'winsup/Makefile.common')
-rw-r--r--winsup/Makefile.common1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/Makefile.common b/winsup/Makefile.common
index e532fc010..12e535689 100644
--- a/winsup/Makefile.common
+++ b/winsup/Makefile.common
@@ -91,6 +91,7 @@ endif
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)
+MINGW_LDFLAGS:=-B${mingw_build}
GCC_DEFAULT_OPTIONS:=$(CFLAGS_COMMON) $(CFLAGS_CONFIG) $(INCLUDES)