mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
system/wiimms-iso-tools: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c55b6b35eb
commit
76ff08796a
1 changed files with 11 additions and 1 deletions
|
@ -23,6 +23,8 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# 20220209 bkw: Modified by SlackBuilds.org: fix build on 15.0.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=wiimms-iso-tools
|
||||
|
@ -82,7 +84,15 @@ find -L . \
|
|||
|
||||
patch -p0 < $CWD/cflags.diff
|
||||
|
||||
make CFLAGS="$SLKCFLAGS"
|
||||
# 20220209 bkw: I need to see the compile/link commands!
|
||||
sed -i 's,@\$(CC),$(CC),g' Makefile
|
||||
|
||||
# 20220209 bkw: overriding in the environment or as make args just
|
||||
# wasn't working, so I nuked it from orbit. It's the only way to be sure.
|
||||
SLKCFLAGS+=" -Wl,--allow-multiple-definition -fcommon"
|
||||
sed -i "s|-O3|$SLKCFLAGS|" Makefile test-libwbfs/Makefile
|
||||
|
||||
make
|
||||
|
||||
# Fix the install directory
|
||||
sed -i "s|/usr/local|$PKG/usr|" templates.sed
|
||||
|
|
Loading…
Reference in a new issue