--- Makefile.orig 2020-05-29 03:56:24 UTC +++ Makefile @@ -140,9 +140,9 @@ V ?= 0 MACOS_UNIVERSAL ?= no ifeq ($(UNICORN_DEBUG),yes) -CFLAGS += -g +#CFLAGS += -g else -CFLAGS += -O3 +#CFLAGS += -O3 UNICORN_QEMU_FLAGS += --disable-debug-info endif @@ -258,7 +258,7 @@ LIBDIRARCH ?= lib # Or better, pass 'LIBDIRARCH=lib64' to 'make install/uninstall' via 'make.sh'. #LIBDIRARCH ?= lib64 -LIBDIR ?= $(PREFIX)/$(LIBDIRARCH) +LIBDIR = $(PREFIX)/$(LIBDIRARCH) INCDIR ?= $(PREFIX)/include BINDIR ?= $(PREFIX)/bin