diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-09 15:26:58 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-12 00:29:37 +0700 |
commit | 76ff08796a8f4b1a4b8b3acebe727a389b984073 (patch) | |
tree | 91e24d954acc898c1d0208cab3cf2f33bd96e37e /system/wiimms-iso-tools | |
parent | c55b6b35eb5a2c906f8f590ce96203c1524f28a7 (diff) |
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>
Diffstat (limited to 'system/wiimms-iso-tools')
-rw-r--r-- | system/wiimms-iso-tools/wiimms-iso-tools.SlackBuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/system/wiimms-iso-tools/wiimms-iso-tools.SlackBuild b/system/wiimms-iso-tools/wiimms-iso-tools.SlackBuild index 05c9412726f5e..58df4b17f5ba0 100644 --- a/system/wiimms-iso-tools/wiimms-iso-tools.SlackBuild +++ b/system/wiimms-iso-tools/wiimms-iso-tools.SlackBuild @@ -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 |