Commit 54402aab authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#3253 build with gcc 4.4.0 refs[t:3253]

git-svn-id: file:///svn/toku/tokudb@27915 c7de825b-a66e-492c-adef-691d508d4ae1
parent 594046e1
...@@ -95,7 +95,7 @@ else ...@@ -95,7 +95,7 @@ else
WERROR = -Werror WERROR = -Werror
endif endif
# -Wno-deprecated is needed on gcc 4.4.{1,2} to make the #ident complaints go away. # -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-strict-aliasing is needed on gcc 4.4.{1,2} 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. # -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. # Gcc 4.4.1-4ubuntu9 cannot handle --combine, but 4.4.4 can. But 4.5 cannot.
...@@ -104,6 +104,8 @@ ifeq ($(GCCVERSION),4.4.2) ...@@ -104,6 +104,8 @@ ifeq ($(GCCVERSION),4.4.2)
else ifeq ($(GCCVERSION),4.4.1) else ifeq ($(GCCVERSION),4.4.1)
GCC_VERSION_SPECIFIC = -Wno-deprecated -Wno-unused-result GCC_VERSION_SPECIFIC = -Wno-deprecated -Wno-unused-result
COMBINE := 0 COMBINE := 0
else ifeq ($(GCCVERSION),4.4.0)
GCC_VERSION_SPECIFIC = -Wno-deprecated
endif endif
WALL = $(GCC_VERSION_SPECIFIC) -Wall -Wextra -Wcast-align -Wbad-function-cast -Wno-missing-noreturn -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations WALL = $(GCC_VERSION_SPECIFIC) -Wall -Wextra -Wcast-align -Wbad-function-cast -Wno-missing-noreturn -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
...@@ -124,6 +126,8 @@ ifeq ($(GCCVERSION),4.4.2) ...@@ -124,6 +126,8 @@ ifeq ($(GCCVERSION),4.4.2)
CFLAGS += -Wno-strict-aliasing CFLAGS += -Wno-strict-aliasing
else ifeq ($(GCCVERSION),4.4.1) else ifeq ($(GCCVERSION),4.4.1)
CFLAGS += -Wno-strict-aliasing CFLAGS += -Wno-strict-aliasing
else ifeq ($(GCCVERSION),4.4.0)
CFLAGS += -Wno-strict-aliasing
endif endif
LIBPORTABILITY = $(TOKUROOT)lib/libtokuportability.$(AEXT) LIBPORTABILITY = $(TOKUROOT)lib/libtokuportability.$(AEXT)
LIBPORTABILITY_BUNDLE = $(TOKUROOT)lib/libtokuportability.bundle LIBPORTABILITY_BUNDLE = $(TOKUROOT)lib/libtokuportability.bundle
......
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