Merge pull request #941 from lifanov/master

respect ports tree CFLAGS and LFLAGS  step 2
pull/944/head
Jens Steube 8 years ago committed by GitHub
commit fe37fce73f

@ -179,11 +179,11 @@ endif # Linux
ifeq ($(UNAME),FreeBSD)
ifndef PORTNAME
CFLAGS_NATIVE := $(CFLAGS)
LFLAGS_NATIVE := $(LFLAGS)
CFLAGS_NATIVE += -march=native
endif
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
CFLAGS_NATIVE += -march=native
LFLAGS_NATIVE := $(LFLAGS)
LFLAGS_NATIVE += -lpthread
endif
endif # FreeBSD
ifeq ($(UNAME),Darwin)

Loading…
Cancel
Save