Commit 5b632174 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

Add -fPIC to compiler options

parent 77da32fb
......@@ -35,7 +35,7 @@ CPP_DEPS += \
src/%.o: ../src/%.cpp
@echo 'Building file: $<'
@echo 'Invoking: GCC C++ Compiler'
g++ -DMS_WIN64 -I"$(PYTHON_INCLUDE)" -I"$(NUMPY_INCLUDE)" -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<"
g++ -DMS_WIN64 -I"$(PYTHON_INCLUDE)" -I"$(NUMPY_INCLUDE)" -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<"
@echo 'Finished building: $<'
@echo ' '
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment