Who knows how to build 32 rpm from a 64 bit program? I try rpmbuild -bb --target i686
, in g ++ it is passed RPM_OPT_FLAGS=-O2 -g -march=i686
, to which he says:
error: The specified processor does not support the x86-64 command set.
For a normal build under 32 bits, you must also pass -m32. The question is where to stick -m32, so as not to violate the logic or how to make it add itself?