Commit 9b6b5419 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

build the linux port lib with icc. addresses #1487

git-svn-id: file:///svn/toku/tokudb@10062 c7de825b-a66e-492c-adef-691d508d4ae1
parent 14af364e
......@@ -6,6 +6,10 @@ TARGETS = $(patsubst %.c,%,$(SRCS))
RUNTARGETS = $(patsubst %,%.tdbrun,$(TARGETS))
VGRIND = valgrind
ifeq ($(CC),icc)
CFLAGS += -diag-disable 981
endif
all: $(TARGETS)
%: %.c
......
......@@ -3,7 +3,7 @@
#include <memory.h>
#include <toku_pthread.h>
void *f(void *arg) {
static void *f(void *arg) {
void *vp = toku_malloc(32);
assert(vp);
toku_free(vp);
......
......@@ -6,8 +6,6 @@
#include "toku_os.h"
#include <syscall.h>
int toku_os_getpid(void);
static int gettid(void) {
return syscall(__NR_gettid);
}
......
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