aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-15 03:25:08 +0000
committerMike Frysinger <vapier@gentoo.org>2015-04-15 03:25:08 +0000
commit32b850d49a5ae11dbaf0b4b79067c7fa9dfc3726 (patch)
tree8600497a645b76e6e19edfe12c379e65997a17fc /libsandbox
parentTODO: note more work needed for message framework (diff)
downloadsandbox-32b850d49a5ae11dbaf0b4b79067c7fa9dfc3726.tar.gz
sandbox-32b850d49a5ae11dbaf0b4b79067c7fa9dfc3726.tar.bz2
sandbox-32b850d49a5ae11dbaf0b4b79067c7fa9dfc3726.zip
libsandbox: fix building w/gcc-5
The preprocessed output of gcc has changed a bit to retain more whitespace, but this just confuses/breaks the scripts that parse it. Add the -P flag to normalize things a bit. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox')
-rw-r--r--libsandbox/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsandbox/Makefile.am b/libsandbox/Makefile.am
index 2eb8da1..529d835 100644
--- a/libsandbox/Makefile.am
+++ b/libsandbox/Makefile.am
@@ -68,7 +68,7 @@ sb_nr.h: symbols.h $(SB_NR_FILE)
TRACE_MAKE_HEADER = \
$(SB_AWK) $(GEN_TRACE_SCRIPT) -v MODE=gen | \
- $(COMPILE) -E -include $(top_srcdir)/headers.h - $$f | \
+ $(COMPILE) -E -P -include $(top_srcdir)/headers.h - $$f | \
$(SB_AWK) $(GEN_TRACE_SCRIPT) -v syscall_prefix=$$t > $$header
trace_syscalls.h: $(GEN_TRACE_SCRIPT) Makefile
if SB_SCHIZO