diff options
Diffstat (limited to 'build.macros.in')
-rw-r--r-- | build.macros.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build.macros.in b/build.macros.in index 9595931..a48fa9c 100644 --- a/build.macros.in +++ b/build.macros.in @@ -197,11 +197,11 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o %{nil} %make \ - echo "warning: %%make is deprecated, try %%make_build instead" 1>&2\ + %{warn:%%make is deprecated, use %%make_build instead} \ %{__make} -O %_smp_mflags %makeinstall_std \ - echo "warning: %%makeinstall_std is deprecated, try %%make_install instead" 1>&2\ + %{warn:%%makeinstall_std is deprecated, use %%make_install instead} \ make DESTDIR=%{?buildroot:%{buildroot}} install %__fix_libtool_ltmain_from_overlinking @RPMVENDORDIR@/fix-libtool-ltmain-from-overlinking @@ -216,7 +216,7 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o %ldflags %{?!_disable_ld_as_needed: -Wl,--as-needed}%{?!_disable_ld_no_undefined: -Wl,--no-undefined}%{?!_disable_ld_relro: -Wl,-z,relro}%{?!_disable_ld_O1: -Wl,-O1}%{?!_disable_ld_build_id: -Wl,--build-id}%{?!_disable_ld_enable_new_dtags: -Wl,--enable-new-dtags} %setup_compile_flags \ - echo "warning: %%setup_compile_flags is deprecated, try %%set_build_flags" 1>&2\ + %{warn:%%setup_compile_flags is deprecated, use %%set_build_flags instead} \ %set_build_flags %before_configure \ |