#2916: configure bug (?): FORTIFY_SOURCE in CPPFLAGS breaks configure on Arch
Linux
------------------------+-------------------------
  Reporter:  msieczka   |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  7.0.4
 Component:  Compiling  |    Version:  7.0.3
Resolution:             |   Keywords:
       CPU:  All        |   Platform:  Linux
------------------------+-------------------------

Comment (by msieczka):

 Replying to [comment:15 glynn]:

 > It would be better if any _FORTIFY_SOURCE definition could be extracted
 and moved into CFLAGS/CXXFLAGS, e.g.
 > (...)

 Excellent. Thanks a ton.

 In summary: there's nothing that GRASS should do about this issue, it's
 down to the fact that D_FORTIFY_SOURCE should not go into CPPFLAGS, only
 to CFLAGS and CXXFLAGS. Please let me know whether that's correct.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2916#comment:16>
GRASS GIS <https://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to