You can try run cmake like
cmake -DBUILD_CONFIG=mysql_release -DINSTALL_LAYOUT=STANDALONE -DFEATURE_SET=community -DPLATFORM=linux ......
Also make sure no CFLAGS, CXXFLAGS, LDFLAGS or similar are set in the environment specifying any CPU specific flags.
The binary built with the older glibc and kernel should run fine on one with newer versions.
Note that if different major GCC versions on your systems you might need to install some sort of C++ runtime compatibility package to be able to run binaries compiled with one GCC major version on the other system based on another GCC major version,
kent
Kent Boortz, Release Staff Engineer
Oracle, the MySQL team, www.mysql.com