mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
build tokudb on linux 32 with -march=i686 refs[t:2087]
git-svn-id: file:///svn/toku/tokudb@15156 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
6822031243
commit
a8d53f5897
1 changed files with 8 additions and 1 deletions
|
@ -65,6 +65,7 @@ OPT_OPTFLAGS = -O3 -finline-functions
|
|||
DBG_OPTFLAGS = -O0
|
||||
|
||||
SYSTEM = $(shell uname -s | tr [:upper:] [:lower:])
|
||||
ARCH = $(shell uname -m | tr [:upper:] [:lower:])
|
||||
|
||||
ifeq ($(VERBOSE),2)
|
||||
VERBVERBOSE=-v
|
||||
|
@ -231,6 +232,12 @@ ifeq ($(CC),icc)
|
|||
SKIP_WARNING += $(ICC_NOWARN)1324 # Don't complain about rdtsc clobbering its registers more than once.
|
||||
endif
|
||||
|
||||
ifneq ($(CC),icc)
|
||||
ifeq ($(ARCH),i686)
|
||||
ARCHFLAGS = -march=$(ARCH)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(CYGWIN),)
|
||||
#Cygwin (Windows) Must override some settings
|
||||
BINSUF=.exe
|
||||
|
@ -301,7 +308,7 @@ else
|
|||
ARFLAGS = $(DBG_ARFLAGS)
|
||||
endif
|
||||
|
||||
CFLAGS = $(WALL) $(W64) $(WERROR) $(FORMAT) $(VISIBILITY) $(FPICFLAGS) $(SHADOW)
|
||||
CFLAGS = $(WALL) $(W64) $(WERROR) $(FORMAT) $(VISIBILITY) $(FPICFLAGS) $(SHADOW) $(ARCHFLAGS)
|
||||
CFLAGS += $(OPTFLAGS) $(GCOV_FLAGS) $(PROF_FLAGS)
|
||||
CFLAGS += $(SYMBOLS) $(SKIP_WARNING) $(C99) $(CCQUIET)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue