mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
package/zmqpp: don't override variable
Instead of reseting the variable when we can't set it, just set it when we can: we just have to negate the condition. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
a222e5b586
commit
3934a28756
@ -12,15 +12,14 @@ ZMQPP_LICENSE = MPL-2.0
|
|||||||
ZMQPP_LICENSE_FILES = LICENSE
|
ZMQPP_LICENSE_FILES = LICENSE
|
||||||
ZMQPP_MAKE_OPTS = LD="$(TARGET_CXX)" BUILD_PATH=./build PREFIX=/usr
|
ZMQPP_MAKE_OPTS = LD="$(TARGET_CXX)" BUILD_PATH=./build PREFIX=/usr
|
||||||
ZMQPP_LDFLAGS = $(TARGET_LDFLAGS) -lpthread
|
ZMQPP_LDFLAGS = $(TARGET_LDFLAGS) -lpthread
|
||||||
ZMQPP_CONFIG = $(if $(BR2_ENABLE_DEBUG),debug,release)
|
|
||||||
|
|
||||||
# gcc bug internal compiler error: in merge_overlapping_regs, at
|
# gcc bug internal compiler error: in merge_overlapping_regs, at
|
||||||
# regrename.c:304. This bug is fixed since gcc 6.
|
# regrename.c:304. This bug is fixed since gcc 6.
|
||||||
# By setting CONFIG to empty, all optimizations such as -funroll-loops
|
# By setting CONFIG to empty, all optimizations such as -funroll-loops
|
||||||
# -ffast-math -finline-functions -fomit-frame-pointer are disabled
|
# -ffast-math -finline-functions -fomit-frame-pointer are disabled,
|
||||||
ifeq ($(BR2_or1k):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:)
|
# so only set CONFIG for the non-affected cases.
|
||||||
# check-package OverriddenVariable
|
ifneq ($(BR2_or1k):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:)
|
||||||
ZMQPP_CONFIG =
|
ZMQPP_CONFIG = $(if $(BR2_ENABLE_DEBUG),debug,release)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user