try to fix compile bug

This commit is contained in:
tqchen 2014-08-24 09:47:08 -07:00
parent 46d41a2b43
commit 88beee5639

View File

@ -7,9 +7,12 @@ export LDFLAGS= -pthread -lm
ifeq ($(no_omp),1)
export CFLAGS = -Wall -O3 -msse2 -Wno-unknown-pragmas -DDISABLE_OPENMP
else
export CFLAGS = -Wall -O3 -msse2 -Wno-unknown-pragmas -fopenmp
export CFLAGS = -Wall -O3 -msse2 -Wno-unknown-pragmas -fopenmp
endif
# expose these flags to R CMD SHLIB
export PKG_CPPFLAGS = $(CFLAGS)
# specify tensor path
BIN = xgboost
OBJ =