Merge pull request #964 from benoitc/fix/pi2

fix build for raspberry 2
This commit is contained in:
Igor Canadi 2016-01-28 10:24:11 -08:00
commit 77926f93e5

View file

@ -85,9 +85,11 @@ endif
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)
OPT += -momit-leaf-frame-pointer
endif
endif
endif
# if we're compiling for release, compile without debug code (-DNDEBUG) and
# don't treat warnings as errors