Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Anjay/ltoconfig
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
19 lines (18 sloc)
568 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Copyright 2017-2023 AVSystem <avsystem@avsystem.com> | |
# AVSystem Anjay LwM2M SDK | |
# All rights reserved. | |
# | |
# Licensed under the AVSystem-5-clause License. | |
# See the attached LICENSE file for details. | |
./devconfig \ | |
--c-flags '-Os -DNDEBUG -flto' \ | |
--without-dtls \ | |
-D CMAKE_EXE_LINKER_FLAGS='-flto' \ | |
-D CMAKE_SHARED_LINKED_FLAGS='-flto' \ | |
-D CMAKE_AR="$(which gcc-ar)" \ | |
-D CMAKE_RANLIB="$(which gcc-ranlib)" \ | |
-D WITH_LIBRARY_SHARED=OFF \ | |
-D AVS_LOG_WITH_TRACE=OFF \ | |
"$@" |