When I build the package with gcc a lot of warning are produced about
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<command-line>:0:0: note: this is the location of the previous definition
To silence them I have to edit the PKGBUILD and add the following line to the CMAKE configuration:
cmake -S"${pkgname}" -Bbuild \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" # Here
Could this be add to the PKGFILE?
The solution was provided in this issue neovim/issues/2557.
Pinned Comments
fwalch commented on 2016-07-04 19:52 (UTC) (edited on 2016-07-04 19:54 (UTC) by fwalch)