build: add -s flag to release builds
- Add symbol stripping (-s) to release builds
This commit is contained in:
@@ -28,7 +28,7 @@ ${BIN_DIR}/debug/${FULL_LIB}: ${OBJS_DEBUG}
|
||||
|
||||
${BIN_DIR}/release/${FULL_LIB}: ${OBJS_RELEASE}
|
||||
@mkdir -p ${.TARGET:H}
|
||||
${CC} -shared -o ${.TARGET} ${.ALLSRC} ${LDFLAGS_PLAT}
|
||||
${CC} -shared -s -o ${.TARGET} ${.ALLSRC} ${LDFLAGS_PLAT}
|
||||
|
||||
.for _src in ${SRCS}
|
||||
_obj_base = ${_src:S/^src\///:S/.c$/.o/}
|
||||
|
||||
Reference in New Issue
Block a user