diff --git a/src/Makefile b/src/Makefile index 7ad1a59..36a9d66 100644 --- a/src/Makefile +++ b/src/Makefile @@ -343,6 +343,7 @@ linux-x86-64-gpu: $(MAKE) $(PROJ) \ JOHN_OBJS="$(JOHN_OBJS) $(OCL_OBJS) $(CUDA_OBJS) c3_fmt.o x86-64.o sse-intrinsics-64.o" \ CFLAGS="$(CFLAGS) -I$(OCLROOT)/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_CUDA -DHAVE_DL -march=native" \ + ASFLAGS="$(ASFLAGS) -march=native" \ LDFLAGS="$(LDFLAGS) -L$(OCLROOT)/lib/x86_64 -L$(OCLROOT)/lib64 -L$(CUDA64PATH) -lcrypt -lOpenCL -ldl -lcudart -march=native" $(CP) opencl/*.cl ../run/ $(CP) opencl_*.h ../run/ @@ -353,6 +354,7 @@ linux-x86-64-opencl: $(MAKE) $(PROJ) \ JOHN_OBJS="$(JOHN_OBJS) $(OCL_OBJS) c3_fmt.o x86-64.o sse-intrinsics-64.o" \ CFLAGS="$(CFLAGS) -I$(OCLROOT)/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -march=native" \ + ASFLAGS="$(ASFLAGS) -march=native" \ LDFLAGS="$(LDFLAGS) -L$(OCLROOT)/lib/x86_64 -L$(OCLROOT)/lib64 -lcrypt -lOpenCL -ldl -march=native" $(CP) opencl/*.cl ../run/ $(CP) opencl_*.h ../run/ @@ -363,6 +365,7 @@ linux-x86-64-cuda: $(MAKE) $(PROJ) \ JOHN_OBJS="$(JOHN_OBJS) $(CUDA_OBJS) c3_fmt.o x86-64.o sse-intrinsics-64.o" \ CFLAGS="$(CFLAGS) -DHAVE_CRYPT -DHAVE_DL -DHAVE_CUDA -march=native" \ + ASFLAGS="$(ASFLAGS) -march=native" \ LDFLAGS="$(LDFLAGS) -L$(CUDA64PATH) -lcrypt -ldl -lcudart -march=native" linux-x86-64-native: