projects
/
lttng-ci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6871000
)
jjb: lttng-tools: disable -Wmissing-field-initializers on el7
author
Michael Jeanson
<mjeanson@efficios.com>
Fri, 17 Mar 2023 17:40:01 +0000
(13:40 -0400)
committer
Michael Jeanson
<mjeanson@efficios.com>
Fri, 17 Mar 2023 18:51:26 +0000
(14:51 -0400)
Change-Id: I96323cfe882d0bf8d7e0df877327b4edb59ff50d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/lttng-tools/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/scripts/lttng-tools/build.sh
b/scripts/lttng-tools/build.sh
index 84367e0ecd4ff89f4014a65db3953fd45bf46803..42b4ee39fe2ad63e847fb60994d3a98b20a9f214 100755
(executable)
--- a/
scripts/lttng-tools/build.sh
+++ b/
scripts/lttng-tools/build.sh
@@
-280,8
+280,8
@@
cygwin|cygwin64|msys32|msys64)
esac
# The missing-field-initializers warning code is very dumb in GCC 4.8 on
-# SLES12, disable it even if it's available.
-if [[ $platform = sles12sp5* ]]; then
+# SLES12
/ EL7
, disable it even if it's available.
+if [[ $platform = sles12sp5* ]]
|| [[ $platform = el7* ]]
; then
CFLAGS="$CFLAGS -Wno-missing-field-initializers"
CXXFLAGS="$CXXFLAGS -Wno-missing-field-initializers"
fi
This page took
0.023872 seconds
and
4
git commands to generate.