OCT ZNJK-1000 修改编译选项, 修正g++编译器低版本 nullptr 报错问题
This commit is contained in:
parent
dce161e6cd
commit
32c0881ace
|
@ -6,7 +6,7 @@ INCLUDE_DIRECTORIES(../libs/include ./)
|
|||
|
||||
FILE(GLOB DHCPD_HEADS ./*.h)
|
||||
|
||||
ADD_DEFINITIONS(-Wno-format-overflow)
|
||||
ADD_DEFINITIONS(-Wno-format-overflow -std=c++11)
|
||||
#ADD_EXECUTABLE(${PROJECT_TARGET} opendhcpd.cpp ${DHCPD_HEADS})
|
||||
ADD_LIBRARY(${DHCPD_PROJECT_TARGET} opendhcpd.cpp ${DHCPD_HEADS})
|
||||
|
||||
|
|
Loading…
Reference in New Issue