Change-Id: Ifaba321a0a52beacbc3b560245d7fc0c47542c02
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
;;
esac
-# Some warning flags are very dumb in GCC 4.8 on SLES12 / EL7, disable them
+# Some warning flags are very dumb in GCC 4.8 on SLES12, disable them
# even if they are available.
-if [[ $platform = sles12sp5* ]] || [[ $platform = el7* ]]; then
+if [[ $platform = sles12sp5* ]]; then
CFLAGS="$CFLAGS -Wno-missing-field-initializers -Wno-shadow"
CXXFLAGS="$CXXFLAGS -Wno-missing-field-initializers -Wno-shadow"
fi
;;
esac
-# Some warning flags are very dumb in GCC 4.8 on SLES12 / EL7, disable them
+# Some warning flags are very dumb in GCC 4.8 on SLES12, disable them
# even if they are available.
-if [[ $platform = sles12sp5* ]] || [[ $platform = el7* ]]; then
+if [[ $platform = sles12sp5* ]]; then
CFLAGS="$CFLAGS -Wno-missing-field-initializers -Wno-shadow"
CXXFLAGS="$CXXFLAGS -Wno-missing-field-initializers -Wno-shadow"
fi