update cmake, makefiles

This commit is contained in:
R4SAS 2020-11-11 03:30:35 +03:00
parent c9111aa279
commit 205d367f23
3 changed files with 4 additions and 6 deletions

View file

@ -49,7 +49,7 @@ endif
# UPNP Support (miniupnpc 1.5 and higher)
ifeq ($(USE_UPNP),yes)
CXXFLAGS += -DUSE_UPNP
NEEDED_CXXFLAGS += -DUSE_UPNP
ifeq ($(USE_STATIC),yes)
LDLIBS += $(LIBDIR)/libminiupnpc.a
else
@ -59,6 +59,6 @@ endif
ifeq ($(USE_AESNI),yes)
ifeq (, $(findstring arm, $(SYS))$(findstring aarch64, $(SYS))) # no arm and aarch64 in dumpmachine
CXXFLAGS += -D__AES__
NEEDED_CXXFLAGS += -D__AES__
endif
endif