Changed compiler from g++ to the standard makefile variable CXX.

This commit is contained in:
Yuri 2016-07-15 12:11:59 -07:00
parent 8e066eaa97
commit 43da83a090

View File

@ -10,10 +10,10 @@ powtest:
./testpow.py ./testpow.py
bitmsghash.so: bitmsghash.o bitmsghash.so: bitmsghash.o
g++ bitmsghash.o -shared -fPIC -lpthread -lcrypto $(LDFLAGS) -o bitmsghash.so ${CXX} bitmsghash.o -shared -fPIC -lpthread -lcrypto $(LDFLAGS) -o bitmsghash.so
bitmsghash.o: bitmsghash.o:
g++ -Wall -O3 -march=native -fPIC $(CCFLAGS) -c bitmsghash.cpp ${CXX} -Wall -O3 -march=native -fPIC $(CCFLAGS) -c bitmsghash.cpp
clean: clean:
rm -f bitmsghash.o bitmsghash.so rm -f bitmsghash.o bitmsghash.so