webmcp

changeset 27:1da1078a87b1

fix crash on eglibc

compiling without _GNU_SOURCE causes extos to crash on crypt as the return pointer is invalid.
author Daniel Poelzleithner <poelzi@poelzi.org>
date Wed Sep 15 02:43:06 2010 +0200 (2010-09-15)
parents 9ef0c71fb827
children ea2e8f3a2776
files Makefile.options
line diff
     1.1 --- a/Makefile.options	Thu Jul 08 20:24:14 2010 +0200
     1.2 +++ b/Makefile.options	Wed Sep 15 02:43:06 2010 +0200
     1.3 @@ -8,7 +8,7 @@
     1.4  SLIB_EXT = so
     1.5  
     1.6  # C compiler flags
     1.7 -CFLAGS = -O2 -Wall -I /usr/include -I /usr/local/include -I /usr/local/include/lua51 -I /usr/include/lua5.1
     1.8 +CFLAGS = -O2 -D_GNU_SOURCE -fPIC -Wall -I /usr/include -I /usr/local/include -I /usr/local/include/lua51 -I /usr/include/lua5.1
     1.9  
    1.10  # additional C compiler flags for parts which depend on PostgreSQL
    1.11  CFLAGS_PGSQL = -I /usr/include/postgresql -I /usr/include/postgresql/server -I /usr/local/include/postgresql -I /usr/local/include/postgresql/server

Impressum / About Us