spack/var/spack/repos/builtin/packages/numaprof/numaprof-1.1.4-pin-layout.patch
Sébastien Valat 7c5e3ddac5
numaprof: New package (version : 1.1.4) (#35271)
* numaprof: New package (version : 1.1.4)
* numaprof: Improve the deps description by adding 'type'
* numaprof: Fix maintainer semantic
2023-06-29 09:19:39 -07:00

16 lines
524 B
Diff

diff --git a/src/integration/pintool/Makefile.pin.in b/src/integration/pintool/Makefile.pin.in
index ec95b7b..1b84423 100644
--- a/src/integration/pintool/Makefile.pin.in
+++ b/src/integration/pintool/Makefile.pin.in
@@ -4,7 +4,8 @@
#
##############################################################
-PIN_ROOT=$(shell dirname @PINTOOL_PIN@)
+PIN_ROOT_BIN=$(shell dirname @PINTOOL_PIN@)
+PIN_ROOT=$(shell dirname $(PIN_ROOT_BIN))
MAKE+=-f Makefile.pin
SRCDIR=@CMAKE_CURRENT_SOURCE_DIR@
CST_DEBUG_FLAGS=@PINTOOL_CFLAGS@