W dniu 21.04.2013 21:43, Markus Neteler pisze:
On Sun, Apr 21, 2013 at 8:23 PM, Maciej Sieczka <[email protected]> wrote:

Arch has recently added CPPFLAGS="-D_FORTIFY_SOURCE=2" [1] to its package
and build management toolset config [2].

This brakes ./configure for any GRASS version as follows:

$ CPPFLAGS="-D_FORTIFY_SOURCE=2" ./configure | tail
configure: error: *** Unable to locate curses includes.

... apparently you try with GRASS 6 here?

7 svn too.

/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE
requires compiling with optimization (-O) [-Wcpp]

Missed that. Thanks.

`CPPFLAGS="-O -D_FORTIFY_SOURCE=2" ./configure' works. I don't like the idea of forcing the optimisation though. I think I'll rather override the Arch's default with -D_FORTIFY_SOURCE=0.

Maciek

--
Maciej Sieczka
http://www.sieczka.org
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to