Fix compile flags and libraries for Solaris.

This commit is contained in:
Jonathan Naylor 2016-10-18 11:14:31 +01:00 committed by GitHub
parent 9e9d9b6881
commit 41decbabe7

View file

@ -1,7 +1,7 @@
CC = gcc
CXX = g++
CFLAGS = -g -O3 -Wall -std=c++0x
LIBS = -lsocket
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
LIBS = -lsocket -lpthread
LDFLAGS = -g
OBJECTS = Conf.o Log.o Network.o StopWatch.o Thread.o Timer.o UDPSocket.o Utils.o YSFReflector.o
@ -16,4 +16,4 @@ YSFReflector: $(OBJECTS)
clean:
$(RM) YSFReflector *.o *.d *.bak *~