Use Make macros
This commit is contained in:
parent
d630c9fa27
commit
4b7fb615be
1 changed files with 6 additions and 6 deletions
|
|
@ -95,14 +95,14 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|||
|
||||
# GCC 10 defaults to -fno-common which
|
||||
# https://gcc.gnu.org/gcc-10/changes.html (see C section)
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags} -fcommon"
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags} -fcommon" -C src/sql/pgpool-recovery
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags} -fcommon" -C src/sql/pgpool-regclass
|
||||
%make_build CFLAGS="%{optflags} -fcommon"
|
||||
%make_build CFLAGS="%{optflags} -fcommon" -C src/sql/pgpool-recovery
|
||||
%make_build CFLAGS="%{optflags} -fcommon" -C src/sql/pgpool-regclass
|
||||
|
||||
%install
|
||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install -C src/sql/pgpool-recovery
|
||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install -C src/sql/pgpool-regclass
|
||||
%make_install
|
||||
%make_install -C src/sql/pgpool-recovery
|
||||
%make_install -C src/sql/pgpool-regclass
|
||||
|
||||
install -d %{buildroot}%{_datadir}/%{short_name}
|
||||
install -d %{buildroot}%{_sysconfdir}/%{short_name}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue