more random patches. who knows.
[patches.git] / sandbox-2.6-no-pch.patch
1 gcc crashes when trying to use pch under hardened kernels
2
3 http://bugs.gentoo.org/425524
4
5 --- Makefile.in
6 +++ Makefile.in
7 @@ -300,7 +300,7 @@
8 src \
9 tests
10
11 -SANDBOX_PCH = headers.h.gch libsandbox/headers.h.gch libsbutil/headers.h.gch
12 +SANDBOX_PCH =
13 BUILT_SOURCES = $(SANDBOX_PCH)
14 noinst_LTLIBRARIES = libpch.la
15 nodist_libpch_la_SOURCES = $(SANDBOX_PCH)
16 @@ -862,10 +862,9 @@
17 $(builddir)/headers.h.gch: headers.h
18 $(AM_V_GEN)$(COMPILE) -c -o $@.o $< && $(GCH_CP)
19
20 -libsbutil: libsbutil/headers.h.gch
21 -libsandbox: libsbutil libsandbox/headers.h.gch
22 -src: libsbutil headers.h.gch
23 -tests: src headers.h.gch
24 +libsandbox: libsbutil
25 +src: libsbutil
26 +tests: src
27
28 ChangeLog:
29 touch ChangeLog