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>2013-05-25 01:12:16 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-05-25 01:12:16 +0400
commit10ce3cd70af3f5ef46ae9487600eb34c1f0710f7 (patch)
tree11bdd943ff0d494e6e607ddbbd24b0ed8f4b78c7
parent6184e6b9c81b42960d8e352d38af860e2a9495ab (diff)
* Makefile.in (DEFS): Unused, remove.
(COMPILE.cc): Move -mno-use-libstdc-wrappers flag from here... ($(TEST_DLL_NAME)): ...to here since it's a link time flag.
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/Makefile.in7
2 files changed, 10 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 481e20264..b13bff59f 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,11 @@
2013-05-24 Corinna Vinschen <corinna@vinschen.de>
+ * Makefile.in (DEFS): Unused, remove.
+ (COMPILE.cc): Move -mno-use-libstdc-wrappers flag from here...
+ ($(TEST_DLL_NAME)): ...to here since it's a link time flag.
+
+2013-05-24 Corinna Vinschen <corinna@vinschen.de>
+
* pinfo.cc (pinfo::status_exit): Enhance comment.
2013-05-24 Corinna Vinschen <corinna@vinschen.de>
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index 0ec7d14aa..acb327e69 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -74,13 +74,12 @@ CRT0:=$(cygwin_build)/crt0.o
# --enable options from configure
#
MT_SAFE:=@MT_SAFE@
-DEFS:=@DEFS@
CCEXTRA=
COMMON_CFLAGS=-MMD ${$(*F)_CFLAGS} -Werror -fmerge-constants -ftracer $(CCEXTRA)
ifeq ($(target_cpu),x86_64)
COMMON_CFLAGS+=-mcmodel=small
endif
-COMPILE.cc+=${COMMON_CFLAGS} -mno-use-libstdc-wrappers
+COMPILE.cc+=${COMMON_CFLAGS}
COMPILE.c+=${COMMON_CFLAGS}
AR:=@AR@
@@ -429,7 +428,9 @@ $(LDSCRIPT): $(LDSCRIPT).in
# Rule to build cygwin.dll
$(TEST_DLL_NAME): $(LDSCRIPT) dllfixdbg $(DLL_OFILES) $(LIBSERVER) $(LIBC) $(LIBM) $(API_VER) Makefile winver_stamp
- $(CXX) $(CXXFLAGS) -L${WINDOWS_LIBDIR} -Wl,--gc-sections $(nostdlib) -Wl,-T$(firstword $^) -static \
+ $(CXX) $(CXXFLAGS) \
+ -mno-use-libstdc-wrappers -L${WINDOWS_LIBDIR} \
+ -Wl,--gc-sections $(nostdlib) -Wl,-T$(firstword $^) -static \
-Wl,--heap=0 -Wl,--out-implib,cygdll.a -shared -o $@ \
-e $(DLL_ENTRY) $(DEF_FILE) $(DLL_OFILES) version.o winver.o \
$(MALLOC_OBJ) $(LIBSERVER) $(LIBM) $(LIBC) \