From: Holger Schemel Date: Fri, 2 Oct 2020 12:51:59 +0000 (+0200) Subject: changed gcc optimization level from "-O3" to "-O2" for releases X-Git-Tag: 4.2.0.3~12 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=0896ebe9d29a756c7adc005c6b93ff28f2fd396d;hp=0896ebe9d29a756c7adc005c6b93ff28f2fd396d changed gcc optimization level from "-O3" to "-O2" for releases This change was done due to general recommendations and because of some versions of gcc emitting lots of misleading warnings with "-O3" related to pointers possibly being null in cases where they surely cannot be null ("warning: argument 1 null where non-null expected" for "strcmp(s1, s2)" in src/libgame/misc.c after explicitly checking that s1 is not null), which makes it harder to recognize "real" warnings when building the distribution packages. ---