Use Make macros
This commit is contained in:
parent
25cbe42e22
commit
af2b994ff3
@ -45,11 +45,11 @@ EOF
|
||||
%configure --with-unixodbc --disable-dependency-tracking
|
||||
# GCC 10 defaults to -fno-common
|
||||
# https://gcc.gnu.org/gcc-10/changes.html (see C section)
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags} -fcommon"
|
||||
%make_build CFLAGS="%{optflags} -fcommon"
|
||||
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
%make_install
|
||||
|
||||
%global testsuitedir %{_libdir}/%{name}
|
||||
install -d -m 755 $RPM_BUILD_ROOT/%{testsuitedir}
|
||||
|
Loading…
Reference in New Issue
Block a user