2 Commits

Author SHA256 Message Date
0856ac083c Accepting request 1191720 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1191720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdv?expand=0&rev=32
2024-08-07 04:10:11 +00:00
0f2e01d39b Accepting request 1190993 from home:fkastl:gcc14
- Add -Wno-incompatible-pointer-types to CFLAGS to enable building
  for 32bit with GCC 14.

If the request is ok, please forward it to factory soon so that it
is ready when the default compiler is switched.

OBS-URL: https://build.opensuse.org/request/show/1190993
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libdv?expand=0&rev=27
2024-08-05 14:02:57 +00:00
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 1 14:11:54 UTC 2024 - Filip Kastl <filip.kastl@suse.com>
- Add -Wno-incompatible-pointer-types to CFLAGS to enable building
for 32bit with GCC 14.
-------------------------------------------------------------------
Tue May 17 06:59:27 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package libdv
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -102,7 +102,7 @@ echo "AC_DEFUN([AM_PATH_SDL], [true])" >> m4/dummy_sdl.m4
%endif
autoreconf -fiv
export CFLAGS="${RPM_OPT_FLAGS/O2/O3} -fomit-frame-pointer -fPIC -DPIC"
export CFLAGS="${RPM_OPT_FLAGS/O2/O3} -fomit-frame-pointer -fPIC -DPIC -Wno-incompatible-pointer-types"
export LDFLAGS="-pie"
%configure \
--disable-static \