* Makefile.in: Allow CFLAGS to be overridden from the environment.

This commit is contained in:
Christopher Faylor 2011-05-02 19:14:39 +00:00
parent 183ad8597c
commit 2671ba6f3a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-05-02 Christopher Faylor <me.cygwin2011@cgf.cx>
* Makefile.in: Allow CFLAGS to be overridden from the environment.
2011-05-02 Corinna Vinschen <corinna@vinschen.de> 2011-05-02 Corinna Vinschen <corinna@vinschen.de>
* thread.cc (cancelable_wait): Remove test for main thread. * thread.cc (cancelable_wait): Remove test for main thread.

View File

@ -58,7 +58,7 @@ override INSTALL_DATA:=@INSTALL_DATA@
MT_SAFE:=@MT_SAFE@ MT_SAFE:=@MT_SAFE@
DEFS:=@DEFS@ DEFS:=@DEFS@
CCEXTRA:= CCEXTRA:=
CFLAGS=@CFLAGS@ CFLAGS?=@CFLAGS@
override CFLAGS+=-MMD ${$(*F)_CFLAGS} -Werror -fmerge-constants -ftracer \ override CFLAGS+=-MMD ${$(*F)_CFLAGS} -Werror -fmerge-constants -ftracer \
-mno-use-libstdc-wrappers $(CCEXTRA) -mno-use-libstdc-wrappers $(CCEXTRA)
CXX=@CXX@ CXX=@CXX@