Pass OPT flags when linking
This commit is contained in:
2
Makefile
2
Makefile
@@ -124,7 +124,7 @@ doxygen:
|
|||||||
|
|
||||||
ispc: print_llvm_src dirs $(OBJS)
|
ispc: print_llvm_src dirs $(OBJS)
|
||||||
@echo Creating ispc executable
|
@echo Creating ispc executable
|
||||||
@$(CXX) $(LDFLAGS) -o $@ $(OBJS) $(ISPC_LIBS)
|
@$(CXX) $(OPT) $(LDFLAGS) -o $@ $(OBJS) $(ISPC_LIBS)
|
||||||
|
|
||||||
objs/%.o: %.cpp
|
objs/%.o: %.cpp
|
||||||
@echo Compiling $<
|
@echo Compiling $<
|
||||||
|
|||||||
Reference in New Issue
Block a user