diff options
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 |