Commit 33834a3c authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#3253 build with gcc 4.4.4 on amazon refs[t:3253]

git-svn-id: file:///svn/toku/tokudb@28028 c7de825b-a66e-492c-adef-691d508d4ae1
parent b04158b4
......@@ -95,11 +95,13 @@ else
WERROR = -Werror
endif
# -Wno-deprecated is needed on gcc 4.4.{0,1,2} to make the #ident complaints go away.
# -Wno-strict-aliasing is needed on gcc 4.4.{1,2} to make certain gratuitous warnings go away.
# -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.
# Gcc 4.4.1-4ubuntu9 cannot handle --combine, but 4.4.4 can. But 4.5 cannot.
ifeq ($(GCCVERSION),4.4.2)
ifeq ($(GCCVERSION),4.4.4)
GCC_VERSION_SPECIFIC = -Wno-deprecated
else ifeq ($(GCCVERSION),4.4.2)
GCC_VERSION_SPECIFIC = -Wno-deprecated
else ifeq ($(GCCVERSION),4.4.1)
GCC_VERSION_SPECIFIC = -Wno-deprecated -Wno-unused-result
......@@ -122,7 +124,9 @@ SYMBOLS = -g3 -ggdb3
PORTABILITY=
SKIP_WARNING=
COMBINE_C = -combine -c
ifeq ($(GCCVERSION),4.4.2)
ifeq ($(GCCVERSION),4.4.4)
CFLAGS += -Wno-strict-aliasing
else ifeq ($(GCCVERSION),4.4.2)
CFLAGS += -Wno-strict-aliasing
else ifeq ($(GCCVERSION),4.4.1)
CFLAGS += -Wno-strict-aliasing
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment