* Makefile.common (COMPILE.cc): Add -fno-use-cxa-atexit.

This commit is contained in:
Yaakov Selkowitz 2014-08-07 16:19:09 +00:00
parent 5528975705
commit 85a7b23a5c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-08-07 Yaakov Selkowitz <yselkowi@redhat.com>
* Makefile.common (COMPILE.cc): Add -fno-use-cxa-atexit.
2014-02-18 Christopher Faylor <me.cygwin2014@cgf.cx> 2014-02-18 Christopher Faylor <me.cygwin2014@cgf.cx>
* Makefile.in: Ignore errors on doc install. * Makefile.in: Ignore errors on doc install.

View File

@ -23,7 +23,7 @@ opt=$(filter -O%,${CFLAGS}) $(filter -g%,${CFLAGS})
override CXXFLAGS:=${filter-out -g%,$(filter-out -O%,${CXXFLAGS})} ${opt} override CXXFLAGS:=${filter-out -g%,$(filter-out -O%,${CXXFLAGS})} ${opt}
cflags_common:=-Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0 cflags_common:=-Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0
COMPILE.cc=c++wrap ${CXXFLAGS} -fno-rtti -fno-exceptions ${cflags_common} COMPILE.cc=c++wrap ${CXXFLAGS} -fno-rtti -fno-exceptions -fno-use-cxa-atexit ${cflags_common}
COMPILE.c=ccwrap ${CFLAGS} ${cflags_common} COMPILE.c=ccwrap ${CFLAGS} ${cflags_common}
top_srcdir:=$(call justdir,${winsup_srcdir}) top_srcdir:=$(call justdir,${winsup_srcdir})