Fix invoking autogen/configure so the default CFLAGS actually get applied

Resolves: rhbz#2044881
This commit is contained in:
Adam Jackson 2022-02-03 14:21:55 -05:00
parent 199d3c77fa
commit 75ec1445f9

View File

@ -1,7 +1,7 @@
Summary: Run-time libraries and programs
Name: motif
Version: 2.3.4
Release: 24%{?dist}
Release: 25%{?dist}
License: LGPLv2+
Source: http://downloads.sf.net/motif/motif-%{version}-src.tgz
Source1: xmbind
@ -72,9 +72,8 @@ This package contains the static Motif libraries.
%patch48 -p1 -b .format-security
%build
CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" \
./autogen.sh --libdir=%{_libdir} --enable-static --enable-xft --enable-jpeg \
--enable-png
./autogen.sh
%configure --enable-static --enable-xft --enable-jpeg --enable-png
make clean %{?_smp_mflags}
make -C include
@ -120,6 +119,10 @@ rm -f %{buildroot}%{_libdir}/*.la
%{_libdir}/lib*.a
%changelog
* Thu Feb 03 2022 Adam Jackson <ajax@redhat.com> - 2.3.4-25
- Fix invoking autogen/configure so the default CFLAGS actually get applied
Resolves: rhbz#2044881
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.4-24
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688