From 00a7890449543c1217dd1db88a15deee782ad610 Mon Sep 17 00:00:00 2001 From: Laurent THOMAS Date: Thu, 9 Oct 2025 14:04:14 +0200 Subject: [PATCH] asn1c doesn't follow c99 variables alias rules, it needs to be compiled this way. issue #509 reported in https://github.com/vlm/asn1c --- cmake_targets/tools/build_helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake_targets/tools/build_helper b/cmake_targets/tools/build_helper index 49edfa91e8..eeffc9d4f1 100755 --- a/cmake_targets/tools/build_helper +++ b/cmake_targets/tools/build_helper @@ -575,7 +575,7 @@ install_asn1c_from_source(){ # Showing which version is used git log -n1 autoreconf -iv - ./configure --prefix /opt/asn1c/ + CFLAGS="-O2 -fno-strict-aliasing" ./configure --prefix /opt/asn1c/ make -j`nproc` $SUDO make install cd -