gcc: build two versions of Flex

We need two versions of Flex:
- One for GCC itself to generate files (in PATH);
- Another for linking to (gentype);

Signed-off-by: David Abdurachmanov <davidlt@cern.ch>
autotools: add Gettext (autopoint)

In order to regenerate autoconf scripts we might need autopoint, i.e.,
Gettext. On some systems in might not be installed by default.

Signed-off-by: David Abdurachmanov <davidlt@cern.ch>
openssl,openssl-bootstrap: set target for ARMv7; misc changes

- Add -mtune=generic to RPM_OPT_FLAGS for x86_64
- Set OpenSSL build target to linux-armv4
- Export RPM_OPT_FLAGS

Note, changes are needed to RPM itself to detect armv7hl and armv7hnl.
By default RPM_OPT_FLAGS includes -march=armv7, which is wrong and
should be -march=armv7-a.

Signed-off-by: David Abdurachmanov <davidlt@cern.ch>
rpm: add armhfp logic and rpmrc defaults

Two new patches adds armv7hl and armv7hnl detection logic, and
default RPM_OPT_FLAGS options for those targets.

This is required for OpenSSL, otherwise a wrong -march option is
passed to the CC compiler.

Signed-off-by: David Abdurachmanov <davidlt@cern.ch>