build_static_lib
This commit is contained in:
parent
991ee072b3
commit
9711d8fbb1
@ -5,7 +5,7 @@
|
||||
+ added `INCLUDE` to `default.config`
|
||||
+ moved `LINKER_ARGS` to the end of linkage command in `functions.sh` to properly link static libs
|
||||
+ added function `try_delete_dir_or_file` for `clean` task
|
||||
+ dead code removal in `build_exec`
|
||||
+ dead code removal in `build_exec` and `build_static_lib`
|
||||
|
||||
# v5
|
||||
+ added task `clean`
|
||||
|
||||
@ -87,7 +87,7 @@ case "$TASK" in
|
||||
;;
|
||||
# creates static library
|
||||
build_static_lib)
|
||||
C_ARGS="-O2 -fpic"
|
||||
C_ARGS="-O2 -fpic -fdata-sections -ffunction-sections"
|
||||
CPP_ARGS="$C_ARGS"
|
||||
PRE_TASK_SCRIPT=
|
||||
TASK_SCRIPT=cbuild/default_tasks/build_static_lib.sh
|
||||
|
||||
Loading…
Reference in New Issue
Block a user