build: add -s flag to release builds
- Add symbol stripping (-s) to release builds
This commit is contained in:
1 parent
49ae5ed75e
commit
22c7da4336
2 files changed
+3
-2
No files matched your search
@@ -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