mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
build: Fix out-of-tree builds for CTF debuginfo platforms
Object directory builds that are configured to include CTF debuginfo (e.g., Solaris with ctf tools installed and configure --enable-debug) will fail with: make ... sh: line 1: /export/home/mvitale/src/sna-openafs-master/src/config/cc-wrapper: not found ... Modify the path for CC_WRAPPER and LD_WRAPPER to point to the object directory, not the source directory. Change-Id: I972be95e7cd7b5dbac3ca6d8d76077cb152618c2 Reviewed-on: https://gerrit.openafs.org/15815 Tested-by: BuildBot <buildbot@rampaginggeek.com> Tested-by: Michael Meffie <mmeffie@sinenomine.net> Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
This commit is contained in:
parent
a76e2024cd
commit
d6fd49c551
@ -28,8 +28,8 @@ AS_CASE([$CTF_TOOLS],
|
||||
CC_WRAPPER=
|
||||
LD_WRAPPER=
|
||||
AS_IF([test x"$CTFCONVERT" != x && test x"$CTFMERGE" != x],
|
||||
[CC_WRAPPER="$TOP_SRCDIR/config/cc-wrapper cc"
|
||||
LD_WRAPPER="$TOP_SRCDIR/config/cc-wrapper ld"])
|
||||
[CC_WRAPPER="${TOP_OBJDIR}/src/config/cc-wrapper cc"
|
||||
LD_WRAPPER="${TOP_OBJDIR}/src/config/cc-wrapper ld"])
|
||||
AC_SUBST([CC_WRAPPER])
|
||||
AC_SUBST([LD_WRAPPER])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user