blob: eb5dc47799b0d69467b08e8abdf78cca9f4aa127 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -Naur spack-src/build/linux.gcc.inc spack-src.patched/build/linux.gcc.inc
--- spack-src/build/linux.gcc.inc 2018-03-30 11:55:05.000000000 -0400
+++ spack-src.patched/build/linux.gcc.inc 2021-07-22 15:58:22.876292608 -0400
@@ -17,7 +17,9 @@
#
COMPILE_ONLY = -c -MMD
-PREPROC_ONLY = -E -x c++
+# For nvc++, need --no_preincludes as well to avoid issues with
+# pre-included content interfering with version scripts, etc.
+PREPROC_ONLY = -E -x c++ --no_preincludes
INCLUDE_KEY = -I
DEFINE_KEY = -D
OUTPUT_KEY = -o #
|