<div dir="ltr">Hi Neels, Holger,<br><br>> @vadim, could you fix this to not use CFLAGS?<br>> Look around in the Makefile.am s to find the<br>> proper way to do it, I guess.<br><br>There is the main problem that automake does not<br>support per-object flags :(<br><br>According to <a href="https://www.gnu.org/software/automake/">https://www.gnu.org/software/automake/</a><br>manual/html_node/Per_002dObject-Flags.html we can<br>only specify per-program and per-library compilation<br>flags. In OsmoTRX we have several static libraries<br>for specific architectures. In libosmocore, we can<br>not go the same way, because it's a shared library.<br><br>Keeping this in mind, I found a way to use per-object<br>flags on Stack Overflow. The solution was to use the<br>Target-specific Variable Values feature of GNU Make.<br><br>I thought "CFLAGS +=" will not overwrite anything...<br>So, let me some time to find a proper solution.<br>If you have any ideas, please let me know.<br><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>With best regards,<br></div><div>Vadim Yanitskiy.<br></div></div></div></div></div></div></div></div>