5.4. Build Flags

We will need to setup target specific flags for the compiler and linker:

export BUILD32="-mabi=32"
export BUILDN32="-mabi=n32"
export BUILD64="-mabi=64"

Let's add the build flags to ~/.bashrc to prevent issues if we stop and come back later:

echo export BUILD32=\""${BUILD32}\"" >> ~/.bashrc
echo export BUILDN32=\""${BUILDN32}\"" >> ~/.bashrc
echo export BUILD64=\""${BUILD64}\"" >> ~/.bashrc