diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-03-25 11:48:58 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-04-02 09:01:51 +0200 |
commit | 79479a0c45f3177ddf0bb2666d39535b6c767c07 (patch) | |
tree | d6b8716ce1980d6c0295ab61ca477e49d885a97d | |
parent | 7f54370baca4203bb344f5f8a4c2683f5b78d50b (diff) |
Replace $RAWCPPFLAGS with $TRADITIONALCPPFLAGS when processing cpp files
Various .cpp files containt things like #ifdef __APPLE__ and #ifdef __linux__
these have been broken (all #ifdef-s always seen as false) since:
http://cgit.freedesktop.org/xorg/util/macros/commit/?id=d690e4a9febd07988d149a967791c5629c17b258
This commit makes these work again by removing -undef from the cpp flags.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | cpprules.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpprules.in b/cpprules.in index 0931bee..870efde 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) $(TRADITIONALCPPFLAGS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) > $@ |