@xkaraman, I definitely want to keep all the `-DHAVE_XXX` flags deduced by the 
build system; however the compiler options like `-O0 -mtune=generic` need to be 
completely overridden.

I tried just defining `CFLAGS="-O2 -g …"` but that got appended/prepended (?) 
to the CFLAGS  so RHELs `FORTIFY_SOURCE` preference didn't work - it looks like 
`-O0` (from current cmake) "won".

Summary: need to keep preprocessor defines, but override compiler options.



-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4082#issuecomment-2559445952
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4082/2559445...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to