Build work
This commit is contained in:
parent
400c5a02d1
commit
94e9860a25
4 changed files with 86 additions and 84 deletions
|
|
@ -8,9 +8,7 @@ if [[ -v 1 ]]; then
|
|||
if [ "$1" = "DEBUG" ]; then
|
||||
ODIN_FLAGS="-debug"
|
||||
elif [ "$1" = "RELEASE" ]; then
|
||||
ODIN_FLAGS="-no-bounds-check -disable-assert -o:size -extra-linker-flags:\"-Wl,--gc-sections,-s\""
|
||||
elif [ "$1" = "TEST" ]; then
|
||||
ODIN_FLAGS="-o:minimal -no-bounds-check -disable-assert -extra-linker-flags:\"-Wl,--gc-sections,-s\""
|
||||
ODIN_FLAGS="-o:minimal"
|
||||
else
|
||||
echo "Usage: <script> <DEBUG/RELEASE>"
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue