gsm: Add the -fPIC compiler option.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Sun, 5 Apr 2020 05:07:12 +0000 (01:07 -0400)
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>
Sun, 5 Apr 2020 05:15:45 +0000 (01:15 -0400)
commit74c7f367daa554cedeb5f02a00d1cd02acf1584b
tree1bb63d39c05eef104a87405142b9d8d946253fb8
parent77704cb13e5bebf412297dab764a00849a3cfdc0
gsm: Add the -fPIC compiler option.

This is necessary for building mediastream2 (a dependency of Linphone).

* gnu/packages/audio.scm (gsm): Add the default CCFLAGS as a make flag, and
prepend -fPIC to these.  Pass INSTALL_ROOT as a make flag as well, which
removes the need to use substitute* in a phase.
gnu/packages/audio.scm