blob: 742ea0ba9de278ed7e9334192d11d149a2bcfd24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Preprocessor changes in GCC 5 cause guile-snarf to output garbage.
https://bugs.gentoo.org/560736
--- a/libguile/guile-snarf.in
+++ b/libguile/guile-snarf.in
@@ -50,7 +50,7 @@
## Apparently, AIX's preprocessor is unhappy if you try to #include an
## empty file.
echo "/* cpp arguments: $@ */" ;
- ${cpp} -DSCM_MAGIC_SNARF_INITS -DSCM_MAGIC_SNARFER "$@" > ${temp} && cpp_ok_p=true
+ ${cpp} -P -DSCM_MAGIC_SNARF_INITS -DSCM_MAGIC_SNARFER "$@" > ${temp} && cpp_ok_p=true
grep "^ *\^ *\^" ${temp} | sed -e "s/^ *\^ *\^//" -e "s/\^\ *:\ *\^.*/;/"
}
|