未验证 提交 60bbbac7 编写于 作者: L Linhe Huo 提交者: GitHub

[TD-12654]<fix>(other): fix unexpected segmentation fault in alpine (#9600)

上级 df9e82d2
...@@ -130,10 +130,10 @@ IF (TD_MIPS_32) ...@@ -130,10 +130,10 @@ IF (TD_MIPS_32)
ENDIF () ENDIF ()
IF (TD_ALPINE) IF (TD_ALPINE)
SET(COMMON_FLAGS "${COMMON_FLAGS} -largp") SET(COMMON_FLAGS "${COMMON_FLAGS} -Wl,-z,stack-size=2097152")
link_libraries(/usr/lib/libargp.a) link_libraries(argp)
ADD_DEFINITIONS(-D_ALPINE) ADD_DEFINITIONS(-D_ALPINE)
MESSAGE(STATUS "aplhine is defined") MESSAGE(STATUS "alpine is defined")
ENDIF () ENDIF ()
IF ("${BUILD_HTTP}" STREQUAL "") IF ("${BUILD_HTTP}" STREQUAL "")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册