X-Git-Url: https://git.ti.com/gitweb?p=jacinto-ai%2Fcaffe-jacinto.git;a=blobdiff_plain;f=Makefile;h=a74d8b51bcdf44f7585d9a38a8f3d3d9f5f1b07b;hp=6bdab19f1baa8ecb46806b90c2a76dff1fac2510;hb=82b912be849a7bec9bfee92a8e5d81182f4130f2;hpb=25a865cd8ba0995c89907990fedaa357282b9a64 diff --git a/Makefile b/Makefile index 6bdab19f..a74d8b51 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ LIBRARIES := cuda cudart cublas curand protobuf opencv_core opencv_highgui \ glog mkl_rt mkl_intel_thread leveldb snappy pthread WARNINGS := -Wall -COMMON_FLAGS := $(foreach includedir,$(INCLUDE_DIRS),-I$(includedir)) +COMMON_FLAGS := -DNDEBUG $(foreach includedir,$(INCLUDE_DIRS),-I$(includedir)) CXXFLAGS += -pthread -fPIC -O2 $(COMMON_FLAGS) NVCCFLAGS := -Xcompiler -fPIC -O2 $(COMMON_FLAGS) LDFLAGS += $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) \