On Tuesday 2018-08-28 18:22, Brüns, Stefan wrote:
at least staging gained an additional "-m64" in x86_64 %{optflags}. Is this really wanted?
This issue has come up about a decade ago or so in the region of cross compiling (with RPM). The answer I remember is: yes, it is wanted, because 1. rpm was instructed to specifically build for x86_64 and 2. rpm/the distro (via optflags) does not want to rely on gcc's default (which may be a crosscompiler, e.g. --target=i586-suse-linux). Conversely, gcc must support being called with both "-m64 -m32" on the same command line. It did not always do that in the past, but current gcc8 on openSUSE adheres to it. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org