Closed stsp closed 4 years ago
I tried the following for DESTDIR support:
diff --git a/script/init.sh b/script/init.sh index 9f78fd9..6f7b201 100755 --- a/script/init.sh +++ b/script/init.sh @@ -3,7 +3,7 @@ unset CDPATH BASE=`pwd` # target directory -PREFIX=${PREFIX-/usr/local/cross} +PREFIX=${DESTDIR}${PREFIX-/usr/local/cross} # enabled languages #ENABLE_LANGUAGES=${ENABLE_LANGUAGES-c,c++,f95,objc,obj-c++}
But at some point the build fails. Can someone try to add the DESTDIR support?
No, adding it to prefix was wrong. Will try to get it to work differently.
I tried the following for DESTDIR support:
But at some point the build fails. Can someone try to add the DESTDIR support?