fix compile error on centos 7.5
This commit is contained in:
parent
904d2a8d6a
commit
3877722a08
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -26,12 +26,16 @@ ifeq ($(UNAME_S),Darwin)
|
|||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(CC), gcc)
|
||||
CC=gcc
|
||||
endif
|
||||
|
||||
#
|
||||
# Compile flags
|
||||
#
|
||||
|
||||
CFLAGS = -I. -O3 -DNDEBUG -std=c11 -fPIC
|
||||
CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC
|
||||
CFLAGS = -I. -O3 -DNDEBUG -std=c11 -fPIC -D_POSIX_C_SOURCE=199309L
|
||||
CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC -D_POSIX_C_SOURCE=199309L
|
||||
LDFLAGS =
|
||||
|
||||
# OS specific
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue