From c88651adb650b5b171e589bc80976dbb2a3499cc Mon Sep 17 00:00:00 2001 From: Aisha Tammy Date: Thu, 8 Oct 2020 16:37:23 +0000 Subject: [PATCH] gentoo patches --- common.mk | 3 +++ configure | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/common.mk b/common.mk index e73a5d1a1a..b0b63bdce8 100644 --- a/common.mk +++ b/common.mk @@ -566,10 +566,13 @@ ifeq ($(MK_ENABLE_STATIC),no) LIBBLIS_L := $(LIBBLIS_SO) LIBBLIS_LINK := $(LIBBLIS_SO_PATH) ifeq ($(IS_WIN),no) +BLIS_SET_RPATH ?= yes +ifeq ($(LIBBLIS_SET_RPATH),yes) # For Linux and OS X: set rpath property of shared object. LDFLAGS += -Wl,-rpath,$(BASE_LIB_PATH) endif endif +endif # On windows, use the shared library even if static is created. ifeq ($(IS_WIN),yes) LIBBLIS_L := $(LIBBLIS_SO) diff --git a/configure b/configure index 35d4f1d458..93c2cd62d8 100755 --- a/configure +++ b/configure @@ -3055,7 +3055,7 @@ main() enable_aocl_zen='yes' enable_aocl_zen_01=1 else - enable_aocl_zen = 'no'; + enable_aocl_zen='no'; enable_aocl_zen_01=0; fi