Commit 8e3c0bd5 authored by Yoni Fogel's avatar Yoni Fogel

Added -finline-functions to default compile

git-svn-id: file:///svn/tokudb@2771 c7de825b-a66e-492c-adef-691d508d4ae1
parent abc8f71e
...@@ -7,7 +7,7 @@ EXPORTMAP = -Wl,--version-script=export.map ...@@ -7,7 +7,7 @@ EXPORTMAP = -Wl,--version-script=export.map
VISIBILITY = -fvisibility=hidden VISIBILITY = -fvisibility=hidden
# PROF_FLAGS=-pg # PROF_FLAGS=-pg
OPTFLAGS = -O2 OPTFLAGS = -O2 -finline-functions
# GCOV_FLAGS = -fprofile-arcs -ftest-coverage # GCOV_FLAGS = -fprofile-arcs -ftest-coverage
CFLAGS = -W -Wall -Wextra -Werror -g3 -ggdb3 -fPIC $(OPTFLAGS) $(GCOV_FLAGS) CFLAGS = -W -Wall -Wextra -Werror -g3 -ggdb3 -fPIC $(OPTFLAGS) $(GCOV_FLAGS)
CFLAGS += -Wbad-function-cast -Wcast-align CFLAGS += -Wbad-function-cast -Wcast-align
......
# On OSX do: # On OSX do:
# make OSX=OSX # make OSX=OSX
OPTFLAGS = -O2 OPTFLAGS = -O2 -finline-functions
ifneq ($(GCOV),) ifneq ($(GCOV),)
GCOV_FLAGS = -fprofile-arcs -ftest-coverage GCOV_FLAGS = -fprofile-arcs -ftest-coverage
......
# On OSX do: # On OSX do:
# make OSX=OSX # make OSX=OSX
OPTFLAGS = -O2 OPTFLAGS = -O2 -finline-functions
LIBNAME=libtokurange LIBNAME=libtokurange
......
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