summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-11-22 23:03:39 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-11-22 23:03:39 -0800
commit463b85fcf51d8ff5886ebe1f3481e5cb4d603436 (patch)
tree4f2be5b98aba389823852196383ffa0a0ed478a0
parent182920f156c87715d91b2f64b8781a0072af996e (diff)
Pass files to cpp via CLI arg instead of stdin to workaround gcc 4.8 change
Fixes Bug 69439 - Empty lines before #!/bin/sh in startx https://bugs.freedesktop.org/show_bug.cgi?id=69439 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--cpprules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpprules.in b/cpprules.in
index eaea428..0931bee 100644
--- a/cpprules.in
+++ b/cpprules.in
@@ -15,4 +15,4 @@ CPP_SED_MAGIC = $(SED) -e '/^\# *[0-9][0-9]* *.*$$/d' \
SUFFIXES = .cpp
.cpp:
- $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@
+ $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) > $@