jjb: Remove special cases for EL7 from build scripts
authorKienan Stewart <kstewart@efficios.com>
Fri, 6 Sep 2024 19:59:00 +0000 (15:59 -0400)
committerKienan Stewart <kstewart@efficios.com>
Fri, 6 Sep 2024 20:00:55 +0000 (16:00 -0400)
Change-Id: Ifaba321a0a52beacbc3b560245d7fc0c47542c02
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
scripts/babeltrace/build.sh
scripts/lttng-tools/build.sh

index a0246ab646329f4867df13533e35bcbcba9b0005..feea2f490a7337bad107ebaaff18e7f06211eb64 100755 (executable)
@@ -227,9 +227,9 @@ freebsd*)
     ;;
 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
index 75feed5e435d41bd53317cdbebc1b69e1c670d8e..41b1fb763614c2c5111ef6650c8256f10259c382 100755 (executable)
@@ -286,9 +286,9 @@ cygwin|cygwin64|msys32|msys64)
     ;;
 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
This page took 0.025013 seconds and 4 git commands to generate.