Commit 3277dbc8 authored by Yoni Fogel's avatar Yoni Fogel

Addresses #293 Addresses #307

A compiler directive to make compilation sweeter

git-svn-id: file:///svn/tokudb@2105 c7de825b-a66e-492c-adef-691d508d4ae1
parent da3bfc7c
......@@ -30,7 +30,7 @@ FPICFLAGS = -fPIC
DTOOL = valgrind --quiet --error-exitcode=1 --leak-check=yes
endif
CFLAGS = -Wall -W $(OPTFLAGS) -g $(GCOV_FLAGS) $(PROF_FLAGS) -Werror $(FPICFLAGS) -Wshadow
CFLAGS = -Wall -W $(OPTFLAGS) -g3 -ggdb3 $(GCOV_FLAGS) $(PROF_FLAGS) -Werror $(FPICFLAGS) -Wshadow
LDFLAGS = $(OPTFLAGS) -g $(GCOV_FLAGS) $(PROF_FLAGS)
CPPFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
......
......@@ -2,5 +2,5 @@
/* Return the smallest prime >= 2^(idx+1)
* Only works for idx<30 */
int toku_get_prime (unsigned int idx);
void toku_test_primes(void);
int toku_get_prime (unsigned int idx) __attribute__((const));
void toku_test_primes(void) __attribute__((const));
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