projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix warning when assertions disabled.
[oota-llvm.git]
/
Makefile.rules
diff --git
a/Makefile.rules
b/Makefile.rules
index 685569a702d8d94d5b0572fe6abfb92bef6b6a88..74b5a32ae850e6f46f69748a01671eaa27fd2dab 100644
(file)
--- a/
Makefile.rules
+++ b/
Makefile.rules
@@
-159,7
+159,7
@@
endif
#------------------------------------------------------------------------
ifneq ($(PROJ_OBJ_DIR),$(PROJ_SRC_DIR))
#------------------------------------------------------------------------
ifneq ($(PROJ_OBJ_DIR),$(PROJ_SRC_DIR))
-Makefile: $(PROJ_SRC_DIR)/Makefile
+Makefile: $(PROJ_SRC_DIR)/Makefile
$(ExtraMakefiles)
$(Echo) "Updating Makefile"
$(Verb) $(MKDIR) $(@D)
$(Verb) $(CP) -f $< $@
$(Echo) "Updating Makefile"
$(Verb) $(MKDIR) $(@D)
$(Verb) $(CP) -f $< $@
@@
-171,7
+171,7
@@
$(PROJ_OBJ_DIR)/Makefile% : $(PROJ_SRC_DIR)/Makefile%
@case '$?' in \
*Makefile.rules) ;; \
*.in) ;; \
@case '$?' in \
*Makefile.rules) ;; \
*.in) ;; \
- *) $(Echo) "Updating $(@F)" ; \
+ *) $(Echo
Cmd
) "Updating $(@F)" ; \
$(MKDIR) $(@D) ; \
$(CP) -f $< $@ ;; \
esac
$(MKDIR) $(@D) ; \
$(CP) -f $< $@ ;; \
esac
@@
-226,7
+226,7
@@
else
# Darwin requires -fstrict-aliasing to be explicitly enabled.
ifeq ($(OS),Darwin)
# Darwin requires -fstrict-aliasing to be explicitly enabled.
ifeq ($(OS),Darwin)
- EXTRA_OPTIONS += -fstrict-aliasing
+ EXTRA_OPTIONS += -fstrict-aliasing
-Wstrict-aliasing
endif
CXX.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer)
endif
CXX.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer)
@@
-1738,10
+1738,17
@@
endif
endif
check-line-length:
endif
check-line-length:
- @egrep -n '.{81}' $(Sources)
+ @echo searching for overlength lines in files: $(Sources)
+ @echo
+ @echo
+ @egrep -n '.{81}' $(Sources) /dev/null
check-for-tabs:
check-for-tabs:
- @egrep -n ' ' $(Sources)
+ @echo searching for tabs in files: $(Sources)
+ @echo
+ @echo
+ @egrep -n ' ' $(Sources) /dev/null
+
check-footprint:
@ls -l $(LibDir) | awk '\
BEGIN { sum = 0; } \
check-footprint:
@ls -l $(LibDir) | awk '\
BEGIN { sum = 0; } \