If one passes multiple opt-level flags to the compiler (for example -O, and --opt-level=3) then an error results. Instead, the previous setting should be overridden. This is bad because then makefiles don't work easily. For example, I had to use the command line make RUSTFLAGS=--opt-level=3 DISABLE_OPTIMIZE=1 instead of the more obvious make RUSTFLAGS=--opt-level=3 when compiling rust as optimized because of this error.
If one passes multiple opt-level flags to the compiler (for example -O, and --opt-level=3) then an error results. Instead, the previous setting should be overridden. This is bad because then makefiles don't work easily. For example, I had to use the command line
make RUSTFLAGS=--opt-level=3 DISABLE_OPTIMIZE=1instead of the more obviousmake RUSTFLAGS=--opt-level=3when compiling rust as optimized because of this error.