CBL-Mariner/SPECS-EXTENDED/libmikmod/libmikmod-cflags.patch

91 строка
2.8 KiB
Diff
Исходник Постоянная ссылка Обычный вид История

Add 16 packages reverted from parity list after build fixes (#4590) * lv2: Add package version 1.18.8 - Disable subpackage 'doc' - Disable check section due to missing dependency on codespell * lv2: cgmanifest add package entry * lv2: licenses add package entry * python-rdflib: Add package version 6.2.0 * python-rdflib: cgmanifest add package entry * python-rdflib: licenses add package entry * libsamplerate: Add package version 0.2.2 * libsamplerate: cgmanifest add package entry * libsamplerate: licenses add package entry * sratom: Add package version 0.6.10 - Disable building 'docs' - Enable check section - Update URL and Source with https * sratom: cgmanifest add package entry * sratom: licenses add package entry * fftw: Add package version 3.3.10 - Disable openmpi and mpich features - Enable check section * fftw: cgmanifest add package entry * fftw: licenses add package entry * cdparanoia: Add package version 10.2 * cdparanoia: cgmanifest add package entry * cdparanoia: licenses add package entry * lilv: Add package version 0.24.14 - Disable subpackage 'doc' - Enable check section - Remove obsoletes of subpackage libs * lilv: cgmanifest add package entry * lilv: licenses add package entry * gstreamer1-plugins-base: Add package version 1.20.0 - Fix build hang issue on amd64 * gstreamer1-plugins-base: cgmanifest add package entry * gstreamer1-plugins-base: licenses add package entry * libcanberra: Add package version 0.30 * libcanberra: cgmanifest add package entry * libcanberra: licenses add package entry * pipewire: Add package version 0.3.60 - Build with features disabled: jack, jackserver-plugin and libcamera-plugin - Remove BR on pkgconfig(libudev) to fix conflicts between systemd-bootstrap-devel and systemd-devel - Add build conditional flag for missing runtime dependency "python-qt5-base" - Fix AMD64 build hang issue - Enable check section * pipewire: Update Amd64 build fix comments * pipewire: cgmanifest add package entry * pipewire: licenses add package entry * pulseaudio: Add package version 16.1 - Build with 'jack' and 'lirc' feature disabled - Enable check section * pulseaudio: cgmanifest add package entry * pulseaudio: licenses add package entry * SDL2: Add package version 2.24.9 - Build with 'jack' support disabled - Enable check section * SDL2: cgmanifest add package entry * SDL2: licenses add package entry * cdrdao: Add package version 1.2.4 * cdrdao: cgmanifest add package entry * cdrdao: licenses add package entry * libao: Add package version 1.2.0 * libao: cgmanifest add package entry * libao: licenses add package entry * linuxconsoletools: Add package version 1.8.1 * linuxconsoletools: cgmanifest add package entry * linuxconsoletools: licenses add package entry * libmikmod: Add package version 3.3.11.1 * libmikmod: cgmanifest add package entry * libmikmod: licenses add package entry
2023-01-17 07:47:08 +03:00
diff -up libmikmod-3.3.8/configure~ libmikmod-3.3.8/configure
--- libmikmod-3.3.8/configure~ 2015-11-11 11:02:00.000000000 +0100
+++ libmikmod-3.3.8/configure 2015-11-16 14:04:21.559228528 +0100
@@ -16783,86 +16783,6 @@ $as_echo "#define HAVE_RTLD_GLOBAL 1" >>
fi
fi
-# If compiling with gcc, use adequate optimization flags
-if test $ac_cv_c_compiler_gnu = yes
-then
- # On at least x86 platforms, gcc 2.7.2.1 and earlier won't work if -O3 (or
- # -finline-functions) are used. Versions 2.7.2.3, 2.8.x and egcs are ok
- # (didn't test 2.7.2.2).
- # Until there's an easy way to catch broken inlining, we choose flags known
- # to work correctly depending of the compiler version.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inlining functions is safe" >&5
-$as_echo_n "checking if inlining functions is safe... " >&6; }
-if ${libmikmod_cv_gcc_inline_safe+:} false
-then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main (void)
-{
-
-#if !(defined __GNUC__ && (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 7))
-#error inlining functions is not safe
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
- libmikmod_cv_gcc_inline_safe=yes
-else
- libmikmod_cv_gcc_inline_safe=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libmikmod_cv_gcc_inline_safe" >&5
-$as_echo "$libmikmod_cv_gcc_inline_safe" >&6; }
- if test $libmikmod_cv_gcc_inline_safe = no
- then
- CFLAGS="$CFLAGS -fno-strength-reduce"
- fi
- CFLAGS="$CFLAGS -ffast-math"
- if test $libmikmod_darwin = yes
- then
- CFLAGS="$CFLAGS -fno-common"
- fi
- if test $libmikmod_debug = yes
- then
- CFLAGS="$CFLAGS -Wall -Werror"
- else
- CFLAGS="$CFLAGS -Wall"
- fi
-
- # pgcc 2.95.2 appears not to be able to compile libmikmod, although regular
- # gcc works fine. Issue a warning if the compiler is pgcc, until a reliable
- # way to detect flawed version (or, better, a reliable workaround) is
- # found.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is pgcc" >&5
-$as_echo_n "checking if compiler is pgcc... " >&6; }
- if ($CC -v 2>&1 | grep ^pgcc > /dev/null) 2>/dev/null
- then
- libmikmod_gcc_is_pgcc=yes
- else
- libmikmod_gcc_is_pgcc=no
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libmikmod_gcc_is_pgcc" >&5
-$as_echo "$libmikmod_gcc_is_pgcc" >&6; }
- if test $libmikmod_gcc_is_pgcc = yes
- then
- echo "
-*** Version 2.95.2 of this compiler, and perhaps others, are unable to
-*** compile libmikmod. If compilation fails for playercode/virtch.c
-*** around line 650, with the error ``internal error--insn does not
-*** satisfy its constraints'', then you'll have to use another compiler.
-" >&2
- fi
-fi
-
if test x$libmikmod_threads != xno
then