7.1.1-1
This commit is contained in:
parent
45a2f253fb
commit
fe7fce2ad1
2
gcc.spec
2
gcc.spec
@ -235,6 +235,7 @@ Patch11: gcc7-Wno-format-security.patch
|
|||||||
|
|
||||||
Patch1000: nvptx-tools-no-ptxas.patch
|
Patch1000: nvptx-tools-no-ptxas.patch
|
||||||
Patch1001: nvptx-tools-build.patch
|
Patch1001: nvptx-tools-build.patch
|
||||||
|
Patch1002: nvptx-tools-glibc.patch
|
||||||
|
|
||||||
# On ARM EABI systems, we do want -gnueabi to be part of the
|
# On ARM EABI systems, we do want -gnueabi to be part of the
|
||||||
# target triple.
|
# target triple.
|
||||||
@ -824,6 +825,7 @@ package or when debugging this package.
|
|||||||
cd nvptx-tools-%{nvptx_tools_gitrev}
|
cd nvptx-tools-%{nvptx_tools_gitrev}
|
||||||
%patch1000 -p1 -b .nvptx-tools-no-ptxas~
|
%patch1000 -p1 -b .nvptx-tools-no-ptxas~
|
||||||
%patch1001 -p1 -b .nvptx-tools-build~
|
%patch1001 -p1 -b .nvptx-tools-build~
|
||||||
|
%patch1002 -p1 -b .nvptx-tools-glibc~
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
%if 0%{?_enable_debug_packages}
|
%if 0%{?_enable_debug_packages}
|
||||||
|
32
nvptx-tools-glibc.patch
Normal file
32
nvptx-tools-glibc.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
--- nvptx-tools/configure.ac.jj 2017-01-13 12:48:31.000000000 +0100
|
||||||
|
+++ nvptx-tools/configure.ac 2017-05-03 10:26:57.076092259 +0200
|
||||||
|
@@ -66,6 +66,8 @@ CPPFLAGS=$save_CPPFLAGS
|
||||||
|
LDFLAGS=$save_LDFLAGS
|
||||||
|
LIBS=$save_LIBS
|
||||||
|
|
||||||
|
+AC_CHECK_DECLS(getopt)
|
||||||
|
+
|
||||||
|
AC_CONFIG_SUBDIRS([libiberty])
|
||||||
|
AC_CONFIG_FILES([Makefile dejagnu.exp])
|
||||||
|
AC_OUTPUT
|
||||||
|
--- nvptx-tools/configure.jj 2017-01-13 12:48:54.000000000 +0100
|
||||||
|
+++ nvptx-tools/configure 2017-05-03 10:27:13.503876809 +0200
|
||||||
|
@@ -3963,6 +3963,18 @@ CPPFLAGS=$save_CPPFLAGS
|
||||||
|
LDFLAGS=$save_LDFLAGS
|
||||||
|
LIBS=$save_LIBS
|
||||||
|
|
||||||
|
+ac_fn_c_check_decl "$LINENO" "getopt" "ac_cv_have_decl_getopt" "$ac_includes_default"
|
||||||
|
+if test "x$ac_cv_have_decl_getopt" = x""yes; then :
|
||||||
|
+ ac_have_decl=1
|
||||||
|
+else
|
||||||
|
+ ac_have_decl=0
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
+cat >>confdefs.h <<_ACEOF
|
||||||
|
+#define HAVE_DECL_GETOPT $ac_have_decl
|
||||||
|
+_ACEOF
|
||||||
|
+
|
||||||
|
+
|
||||||
|
|
||||||
|
|
||||||
|
subdirs="$subdirs libiberty"
|
Loading…
Reference in New Issue
Block a user