Change-Id: Id3c7539d9cbc4316c496c091c56d4337c4d1027d
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
# Install base glibc
make %{?_smp_mflags} install_root=%{buildroot} install -C cc-base
+#######################################################################
+###
+### REMOVE ME #### REMOVE ME #### REMOVE ME #### REMOVE ME ###
+###
+#######################################################################
+# Strip out debug sections from crti.o and crtn.o to compensate bug of
+# binutils < 2.31.2
+find %{buildroot} \( -name 'crti.o' -o -name 'crtn.o' \) -exec strip {} \;
+#######################################################################
+
+
install_optimized_variant() {
local dirname="$1"; shift
local subdir="$1"; shift