summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/ChangeLog4
-rw-r--r--winsup/Makefile.common12
2 files changed, 10 insertions, 6 deletions
diff --git a/winsup/ChangeLog b/winsup/ChangeLog
index 3e7cef661..3885217c5 100644
--- a/winsup/ChangeLog
+++ b/winsup/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-22 Christopher Faylor <cgf@timesys.com>
+
+ * Makefile.common: Add -dD to options when creating preprocess files.
+
2003-11-23 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in: Make cygserver depending on cygwin.
diff --git a/winsup/Makefile.common b/winsup/Makefile.common
index 1edd4dc3c..034feaf7b 100644
--- a/winsup/Makefile.common
+++ b/winsup/Makefile.common
@@ -76,13 +76,13 @@ endif
# Attempt to properly detect missing mingw or w32api and adjust command
# line parameters appropriately
-nostdinc:=${shell [ -d "$(updir)/w32api" ] && echo "-nostdinc"}
-ifneq (,$(nostdinc))
+# nostdinc:=${shell [ -d "$(updir)/w32api" ] && echo "-nostdinc"}
+# ifneq (,$(nostdinc))
nostdincxx:=-nostdinc++
-ifeq (,${findstring $(w32api_source),$(CFLAGS) $(CXXFLAGS) $(CXX) $(CC)})
+# ifeq (,${findstring $(w32api_source),$(CFLAGS) $(CXXFLAGS) $(CXX) $(CC)})
w32api_include:=-I$(w32api_source)/include
-endif
-endif
+# endif
+# endif
mingw_include:=${shell [ -d "$(mingw_source)/include" ] && echo "-I$(mingw_source)/include"}
ifneq (,$(mingw_include))
@@ -120,7 +120,7 @@ ifndef PREPROCESS
c=-c
o=.o
else
-c=-E
+c=-E -dD
o=.E
endif