freebsd-ports/emulators/unicorn/files/patch-Makefile
2017-04-30 10:45:06 +00:00

23 lines
522 B
Text

--- Makefile.orig 2017-04-20 06:14:24 UTC
+++ Makefile
@@ -72,9 +72,9 @@ V ?= 0
MACOS_UNIVERSAL ?= yes
ifeq ($(UNICORN_DEBUG),yes)
-CFLAGS += -g
+#CFLAGS += -g
else
-CFLAGS += -O3
+#CFLAGS += -O3
UNICORN_QEMU_FLAGS += --disable-debug-info
endif
@@ -181,7 +181,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