#3530 define GCCVERSION in the fractal tree Makefile's closes[t:3530]

git-svn-id: file:///svn/toku/tokudb@31138 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Rich Prohaska 2013-04-16 23:59:40 -04:00 committed by Yoni Fogel
parent 4be279ebc9
commit 390fc1e77b

View file

@ -100,6 +100,10 @@ else
WERROR = -Werror
endif
ifeq ($(GCCVERSION),)
GCCVERSION = $(shell $(CC) --version | head -1 | cut -f3 -d " ")
endif
# -Wno-deprecated is needed on gcc 4.4.{0,1,2,4} to make the #ident complaints go away.
# -Wno-strict-aliasing is needed on gcc 4.4.{1,2,4} to make certain gratuitous warnings go away.
# -Wno-unused-result is needed on gcc 4.4.1 to make warnings about ignoring the results of certain system calls go away.