Переглянути джерело

Add Cinder configure patches

pull/2739/head
Filip Š 3 роки тому
джерело
коміт
1a882c6053
2 змінених файлів з 60 додано та 0 видалено
  1. +30
    -0
      plugins/python-build/share/python-build/patches/cinder-3.10-dev/Cinder-3.10-dev/001-disable-werror.patch
  2. +30
    -0
      plugins/python-build/share/python-build/patches/cinder-3.8-dev/Cinder-3.8-dev/001-disable-werror.patch

+ 30
- 0
plugins/python-build/share/python-build/patches/cinder-3.10-dev/Cinder-3.10-dev/001-disable-werror.patch Переглянути файл

@ -0,0 +1,30 @@
diff --git a/configure b/configure
index 5c74f00a..8bb51f40 100755
--- a/configure
+++ b/configure
@@ -7057,8 +7057,8 @@ $as_echo "$ac_cv_extra_warnings" >&6; }
if test $ac_cv_extra_warnings = yes
then
- CFLAGS_NODIST="$CFLAGS_NODIST -Wextra -Werror"
- CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Werror -Wno-implicit-fallthrough"
+ CFLAGS_NODIST="$CFLAGS_NODIST -Wextra"
+ CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Wno-implicit-fallthrough"
fi
# Python doesn't violate C99 aliasing rules, but older versions of
diff --git a/configure.ac b/configure.ac
index c06b992d..6dee6632 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1622,8 +1622,8 @@ yes)
if test $ac_cv_extra_warnings = yes
then
- CFLAGS_NODIST="$CFLAGS_NODIST -Wextra -Werror"
- CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Werror -Wno-implicit-fallthrough"
+ CFLAGS_NODIST="$CFLAGS_NODIST -Wextra"
+ CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Wno-implicit-fallthrough"
fi
# Python doesn't violate C99 aliasing rules, but older versions of

+ 30
- 0
plugins/python-build/share/python-build/patches/cinder-3.8-dev/Cinder-3.8-dev/001-disable-werror.patch Переглянути файл

@ -0,0 +1,30 @@
diff --git a/configure b/configure
index 0df332f7..df8143cf 100755
--- a/configure
+++ b/configure
@@ -6952,8 +6952,8 @@ $as_echo "$ac_cv_extra_warnings" >&6; }
if test $ac_cv_extra_warnings = yes
then
- CFLAGS_NODIST="$CFLAGS_NODIST -Wextra -Werror"
- CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Werror -Wno-implicit-fallthrough"
+ CFLAGS_NODIST="$CFLAGS_NODIST -Wextra"
+ CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Wno-implicit-fallthrough"
fi
# Python doesn't violate C99 aliasing rules, but older versions of
diff --git a/configure.ac b/configure.ac
index f6718e36..0a651e7d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1579,8 +1579,8 @@ yes)
if test $ac_cv_extra_warnings = yes
then
- CFLAGS_NODIST="$CFLAGS_NODIST -Wextra -Werror"
- CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Werror -Wno-implicit-fallthrough"
+ CFLAGS_NODIST="$CFLAGS_NODIST -Wextra"
+ CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Wno-implicit-fallthrough"
fi
# Python doesn't violate C99 aliasing rules, but older versions of

Завантаження…
Відмінити
Зберегти