* Makefile.common: Don't drop -gFOO switches when filtering CFLAGS
and CXXFLAGS.
This commit is contained in:
parent
42ce449890
commit
6485b9c274
|
@ -1,3 +1,8 @@
|
||||||
|
2013-01-22 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* Makefile.common: Don't drop -gFOO switches when filtering CFLAGS
|
||||||
|
and CXXFLAGS.
|
||||||
|
|
||||||
2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx>
|
2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||||
|
|
||||||
* Makefile.in: Properly cd to directory sans install_ prefix. Report
|
* Makefile.in: Properly cd to directory sans install_ prefix. Report
|
||||||
|
|
|
@ -19,8 +19,8 @@ endef
|
||||||
export PATH:=${winsup_srcdir}:${PATH}
|
export PATH:=${winsup_srcdir}:${PATH}
|
||||||
|
|
||||||
# Allow CFLAGS=-O,-g to control CXXFLAGS too
|
# Allow CFLAGS=-O,-g to control CXXFLAGS too
|
||||||
opt=$(filter -O%,${CFLAGS}) $(filter -g,${CFLAGS})
|
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 ${cflags_common}
|
||||||
|
|
Loading…
Reference in New Issue