|
|
|
@ -86,10 +86,12 @@ ifneq ($(DEBUG_LEVEL), 2) |
|
|
|
|
OPT += -O2 -fno-omit-frame-pointer
|
|
|
|
|
ifeq (,$(findstring ppc64,$(MACHINE))) # ppc64[le] doesn't support -momit-leaf-frame-pointer
|
|
|
|
|
ifneq ($(MACHINE),armv7l) |
|
|
|
|
ifneq ($(MACHINE),s390x) |
|
|
|
|
OPT += -momit-leaf-frame-pointer
|
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
# if we're compiling for release, compile without debug code (-DNDEBUG) and
|
|
|
|
|
# don't treat warnings as errors
|
|
|
|
|