Ticket #13146: makefile-engine-fix.patch

File makefile-engine-fix.patch, 558 bytes (added by KapiX, 7 years ago)
  • makefile-engine

    old new  
    312312
    313313# Rule to preprocess program sources into file ready for collecting catkeys.
    314314$(OBJ_DIR)/$(NAME).pre : $(SRCS)
    315     -cat $(SRCS) | $(CC) -E -x c++ $(INCLUDES) $(CFLAGS) -DB_COLLECTING_CATKEYS - > $(OBJ_DIR)/$(NAME).pre
     315    -cat $(SRCS) | $(CC) -E -x c++ $(INCLUDES) $(CFLAGS) -DB_COLLECTING_CATKEYS - | grep -av '^#' > $(OBJ_DIR)/$(NAME).pre
    316316
    317317# Rules to collect localization catkeys.
    318318catkeys : $(CATKEYS_DIR)/en.catkeys