GNOME Bugzilla – Bug 777826
Custom Vala compile rules do not pass -fPIC in CFLAGS
Last modified: 2017-02-01 11:43:09 UTC
If building with hardened build flags, such as -fPIC (which the Fedora package builders do), the -fPIC is not passed to the C compiler by the Vala build rule. This leads to a compile failure when building the tests in the Fedora package. The build rule should probably be changed to use the Automake rules (although those are not that great), but it is also sufficient to pass -fPIC straight to the Vala compiler.
Created attachment 344408 [details] [review] add -fPIC flag to Vala passthrough flags
Merged into git master.