Configuration sse2 sse4.1 tests suppressed system CFLAGS resulting in compilation fail.
GIMP version: 2.10, 2.99
Note: bug reporters are expected to have verified the bug still exists either in the last stable version of GIMP or on updated development code (master branch).
Operating System: All
Description of the bug
During configuration tests if cpu supports sse2 and sse4.1 within
the system env variable CFLAGS parameters are suppressed by addition of
that results in the GIMP will be compiled with their support but the compilation process
will be failed due to system env CFLAGS could have
sse4.1 disabled .
Is the bug reproducible? Always
- Setup system env CFLAGS with
- Run configuration process and notice that SSE2 ans SSE4.1 tests are passed
- Run compilation
- Notice that compilation is failed.
Expected result: System value of CFLAGS shouldn't be overwritten during configuration phase. Compilation shouldn't be failed
Actual result: Compilation process is failed due to suppressed system CFLAGS values during configuration phase.
The issue could be resolved by replacing within