aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-03-23 03:22:27 +0000
committerChristopher Faylor <me@cgf.cx>2005-03-23 03:22:27 +0000
commitbade737e4503f2723d5a8b3f091f47aceff73124 (patch)
tree8d8eea60af5e6fd798aaa1a02d8af66e46d04c60 /winsup
parent8f4897bceb7790b6e1c7a2b45fd7e44c1648cd5b (diff)
downloadnewlib-bade737e4503f2723d5a8b3f091f47aceff73124.zip
newlib-bade737e4503f2723d5a8b3f091f47aceff73124.tar.gz
newlib-bade737e4503f2723d5a8b3f091f47aceff73124.tar.bz2
* Makefile.common: Add -dD to options when creating preprocess files.
Diffstat (limited to 'winsup')
-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 3e7cef6..3885217 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 1edd4dc..034feaf 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