[systemd-devel] [PATCH] build-sys: use correct cpp
Peeters Simon
peeters.simon at gmail.com
Thu Jul 26 06:41:02 PDT 2012
this solves issues where $(CPP) has differend include paths than 'cpp'
---
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 27666ea..86f2b11 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1028,7 +1028,7 @@ BUILT_SOURCES += \
src/core/syscall-to-name.h
src/core/syscall-list.txt: Makefile
- $(AM_V_GEN)cpp $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include
sys/syscall.h < /dev/null | $(AWK) '/^#define[ \t
+ $(AM_V_GEN)$(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include
sys/syscall.h - < /dev/null | $(AWK) '/^#defin
src/core/syscall-from-name.gperf: src/core/syscall-list.txt Makefile
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct syscall_name { const
char* name; int id; };"; print "%null-strin
@@ -2207,7 +2207,7 @@ dist_udevkeymapforcerel_DATA = \
src/udev/keymap/keys.txt: Makefile
$(AM_V_at)mkdir -p src/udev/keymap
- $(AM_V_GEN)cpp $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include
linux/input.h < /dev/null | $(AWK) '/^#define[ \t
+ $(AM_V_GEN)$(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include
linux/input.h - < /dev/null | $(AWK) '/^#defin
src/udev/keymap/keys-from-name.gperf: src/udev/keymap/keys.txt Makefile
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct key { const char*
name; unsigned short id; };"; print "%null-str
More information about the systemd-devel
mailing list