Skip to content
Snippets Groups Projects
Commit fa475a67 authored by BytesGalore's avatar BytesGalore Committed by GitHub
Browse files

Merge pull request #5781 from kaspar030/add_ltoflags_to_riotbuild.h

make: add LTOFLAGS to CFLAGS used to generate riotbuild.h
parents 9d5e601b c9d725ac
Branches
No related tags found
No related merge requests found
...@@ -42,6 +42,9 @@ set -e ...@@ -42,6 +42,9 @@ set -e
echo "/* DO NOT edit this file, your changes will be overwritten and won't take any effect! */" > "${TMPFILE}" echo "/* DO NOT edit this file, your changes will be overwritten and won't take any effect! */" > "${TMPFILE}"
echo "/* Generated from CFLAGS: $@ */" >> "${TMPFILE}" echo "/* Generated from CFLAGS: $@ */" >> "${TMPFILE}"
[ -n "${LTOFLAGS}" ] && echo "/* LTOFLAGS=${LTOFLAGS} */" >> "${TMPFILE}"
for arg in "$@"; do for arg in "$@"; do
case ${arg} in case ${arg} in
-D*) -D*)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment