mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Use -O3 instead of -O2 by default, and add cat-makefiles target
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
a8be4191b1
commit
6fe23eb8c8
1 changed files with 6 additions and 3 deletions
|
|
@ -942,8 +942,8 @@ else
|
|||
endif
|
||||
|
||||
ifeq ($(USE_COMPILER_OPTIMIZATION_OPTS),true)
|
||||
BUILD_CFLAGS += -funroll-loops -O2
|
||||
BUILD_CPPFLAGS += -funroll-loops -O2
|
||||
BUILD_CFLAGS += -funroll-loops -O3
|
||||
BUILD_CPPFLAGS += -funroll-loops -O3
|
||||
else
|
||||
NO_OPT_FLAGS = \
|
||||
-O0 -g -fno-inline -fno-omit-frame-pointer -fno-builtin -fno-optimize-sibling-calls \
|
||||
|
|
@ -1076,7 +1076,10 @@ echo-vars:
|
|||
make -p nothing | grep -B1 "^[A-Z_]* *[?:+]*="
|
||||
|
||||
echo-makefiles:
|
||||
strace -f make nothing 2>&1 | sed '/open\(at\)*(.*\(Makefile\|\.mk\)/ !d; s/.*open("//; s/.*openat([A-Z_]\+, "//; s/", O_.*//'
|
||||
$(Q)strace -f make nothing 2>&1 | sed '/open\(at\)*(.*\(Makefile\|\.mk\)/ !d; s/.*open("//; s/.*openat([A-Z_]\+, "//; s/", O_.*//'
|
||||
|
||||
cat-makefiles:
|
||||
Q=@ make --no-print-directory echo-makefiles | while read f; do echo "# =================================================== $$f"; cat $$f; done
|
||||
|
||||
doc-module:
|
||||
$(BROWSER) $(JANWARE_URL_DOC_MODULE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue