diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-05-24 21:12:16 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-05-24 21:12:16 +0000 |
commit | 10ce3cd70af3f5ef46ae9487600eb34c1f0710f7 (patch) | |
tree | 11bdd943ff0d494e6e607ddbbd24b0ed8f4b78c7 /winsup | |
parent | 6184e6b9c81b42960d8e352d38af860e2a9495ab (diff) | |
download | newlib-10ce3cd70af3f5ef46ae9487600eb34c1f0710f7.zip newlib-10ce3cd70af3f5ef46ae9487600eb34c1f0710f7.tar.gz newlib-10ce3cd70af3f5ef46ae9487600eb34c1f0710f7.tar.bz2 |
* 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.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/cygwin/Makefile.in | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 481e202..b13bff5 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 0ec7d14..acb327e 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) \ |