I have a program that currently has to be compiled in 32 bit mode (for now) and needs to be linked against a version of openSSL with the experimental ciphers included. Therefore I need to compile a 32 bit openSSL. Using
./config -m32
results in both -m32 and -m64 being included in the compiler flags.
The tumbleweed badge reminded me to come back and answer it myself! The way I got this to work was to use:
setarch i386 ./config -m32