summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libxml2/nvhpc-elfgcchack.patch
blob: 8780611094c1c7acab88e9274f540a60931c41b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/elfgcchack.h	2020-08-19 07:55:24.340192000 -0700
+++ b/elfgcchack.h	2020-08-19 07:55:39.952437000 -0700
@@ -9,7 +9,7 @@
  */
 
 #ifdef IN_LIBXML
-#ifdef __GNUC__
+#if defined __GNUC__ && !defined __NVCOMPILER
 #ifdef PIC
 #ifdef __linux__
 #if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3)