diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-07-23 12:42:11 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-07-23 12:42:34 +0200 |
commit | ab2e1be9dfffbddf0655803679fe96249518bcb3 (patch) | |
tree | 0e15039a67e8d19d901483fcba56ad15acf27f83 /x11-misc/xscreensaver/files | |
parent | app-office/wps-office: Binary package (diff) | |
download | gentoo-ab2e1be9dfffbddf0655803679fe96249518bcb3.tar.gz gentoo-ab2e1be9dfffbddf0655803679fe96249518bcb3.tar.bz2 gentoo-ab2e1be9dfffbddf0655803679fe96249518bcb3.zip |
x11-misc/xscreensaver: Use CC in gcc AC_CHECK_GCC_ARG
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Closes: https://bugs.gentoo.org/733638
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-misc/xscreensaver/files')
-rw-r--r-- | x11-misc/xscreensaver/files/xscreensaver-5.44-gcc.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.44-gcc.patch b/x11-misc/xscreensaver/files/xscreensaver-5.44-gcc.patch new file mode 100644 index 000000000000..16493e1fd1dc --- /dev/null +++ b/x11-misc/xscreensaver/files/xscreensaver-5.44-gcc.patch @@ -0,0 +1,16 @@ +--- a/configure.in ++++ b/configure.in +@@ -468,11 +468,11 @@ + + AC_DEFUN([AC_CHECK_GCC_ARG], + [if test -n "$GCC"; then +- AC_CACHE_CHECK([whether gcc accepts [$2]], ++ AC_CACHE_CHECK([whether [$CC] accepts [$2]], + ac_cv_gcc_accepts_[$1], + [rm -rf conftest.$ac_ext + touch conftest.$ac_ext +- if ( ( gcc -c [$2] conftest.$ac_ext -o/dev/null >/dev/null ) 2>&1 | \ ++ if ( ( $CC -c [$2] conftest.$ac_ext -o/dev/null >/dev/null ) 2>&1 | \ + grep unrecognized >/dev/null ); then + ac_cv_gcc_accepts_[$1]=no + else |