mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
#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:
parent
4be279ebc9
commit
390fc1e77b
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue