Hello! Also, packaging baresip for Fedora

Michael Schwendt mschwendt at gmail.com
Mon Sep 30 10:49:25 UTC 2013


On Sun, 29 Sep 2013 12:38:25 -0400, Lars Kellogg-Stedman wrote:

> [...] what the upstream Makefile
> currently produces.  I wasn't sure how invasive I should be in terms
> of patching the upstream build process.

The build output is "silent" using '@' command invocations in the Makefile.
Patching that confirmed that Fedora's compiler flags aren't used:

  https://fedoraproject.org/wiki/Packaging:Guidelines#Compiler_flags

Nowadays, some packagers apply a trick similar to

  %build
  %configure || :
  make …

or

  %build
  [ -f configure ] || touch configure ; chmod +x configure
  %configure
  make …

for exporting CFLAGS (and more) properly.


More information about the devel mailing list