Last active
January 2, 2021 19:18
-
-
Save GaryOderNichts/475edaf03ff08ba100840608f92eade8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# configure script to configure libsndfile for the Wii U | |
# created 2020 by GaryOderNichts | |
export PATH=$DEVKITPPC/bin:$PATH | |
echo '--- configure.ac 2020-10-21 21:28:13.000000000 +0000 | |
+++ configure.ac2 2020-10-21 22:21:16.030237600 +0000 | |
@@ -598,7 +598,6 @@ | |
dnl some distributions (such as Gentoo) have _FORTIFY_SOURCE always | |
dnl enabled. We test for this situation in order to prevent polluting | |
dnl the console with messages of macro redefinitions. | |
-AX_ADD_FORTIFY_SOURCE | |
AS_IF([test "x$ax_cv_c_compiler_vendor" = "xgnu"], [ | |
dnl OS specific tweaks.' > config.patch && patch < config.patch | |
./autogen.sh && ./configure \ | |
--prefix=$DEVKITPRO/portlibs/wiiu/ \ | |
--host=powerpc-eabi \ | |
--enable-static \ | |
--disable-full-suite \ | |
CC=$DEVKITPPC/bin/powerpc-eabi-gcc \ | |
AR=$DEVKITPPC/bin/powerpc-eabi-ar \ | |
RANLIB=$DEVKITPPC/bin/powerpc-eabi-ranlib \ | |
PKG_CONFIG=$DEVKITPRO/portlibs/wiiu/bin/powerpc-eabi-pkg-config \ | |
CFLAGS="-Wall -O2 -ffunction-sections -DESPRESSO -mcpu=750 -meabi -mhard-float -D__WIIU__ -D__WUT__" \ | |
LDFLAGS="-Wl,-q -Wl,-z,nocopyreloc -specs=$WUT_ROOT/share/wut.specs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment