Skip to content

Commit

Permalink
[ci] remove DL_LDFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Sep 14, 2024
1 parent dd99f92 commit e2fa087
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ DOCDIR=../doc
INCLUDEDIRS=-Izmat -Izmat/easylzma -I/usr/local/cuda/include -Iubj

CUCCOPT:=
CCOPT=-g -pedantic -Wall -O3 -DMCX_EMBED_CL -DMCX_OPENCL -DUSE_OS_TIMER
CCOPT=-g -pedantic -Wall -O3 -DMCX_EMBED_CL -DMCX_OPENCL -DUSE_OS_TIMER
CPPOPT:=$(CCOPT) -Wno-variadic-macros
CCOPT+=-std=c99

Expand Down Expand Up @@ -53,7 +53,7 @@ endif

HAS_CUDA := $(shell [ -d $(CUDA_LIB) ] && echo "1" )
ifeq ($(HAS_CUDA), 1)
CUCCOPT +=-DUSE_OS_TIMER #-m32 -msse2 -Wfloat-equal -Wpointer-arith -DATI_OS_LINUX -g3 -ffor-scope
CUCCOPT +=-DUSE_OS_TIMER #-m32 -msse2 -Wfloat-equal -Wpointer-arith -DATI_OS_LINUX -g3 -ffor-scope
CCOPT +=-DUSE_OS_TIMER
LIBOPENCLDIR=$(CUDA_LIB)/lib64
ifeq ($(findstring CYGWIN,$(PLATFORM)), CYGWIN)
Expand Down Expand Up @@ -159,7 +159,7 @@ mex: LINKOPT+=mcxlabcl.cpp -outdir $(OUTPUT_DIR) $(INCLUDEDIRS)
OCT_LDFLAGS := $(shell mkoctfile -p LDFLAGS)

oct: BINARY=mcxcl.mex
oct: AR=XTRA_CFLAGS=' ' XTRA_CXXFLAGS=' ' CXXFLAGS='-std=c++11 $(CPPOPT) $(MEXCCOPT) $(USERCCOPT)' LDFLAGS='$(OCT_LDFLAGS) -g -L$(LIBOPENCLDIR) $(LIBOPENCL)' DL_LDFLAGS='$(LDFLAGS) -g -L$(LIBOPENCLDIR) $(LIBOPENCL) $(MEXLINKOPT)' mkoctfile -v
oct: AR=XTRA_CFLAGS=' ' XTRA_CXXFLAGS=' ' CXXFLAGS='-std=c++11 $(CPPOPT) $(MEXCCOPT) $(USERCCOPT)' LDFLAGS='$(OCT_LDFLAGS) -g -L$(LIBOPENCLDIR) $(LIBOPENCL)' mkoctfile -v
oct: LINKOPT=--mex -DMATLAB_MEX_FILE mcxlabcl.cpp $(INCLUDEDIRS) $(EXTRALIB)

OBJS := $(addsuffix $(OBJSUFFIX), $(FILES))
Expand Down

0 comments on commit e2fa087

Please sign in to comment.