1. Daniel Poelzleithner
  2. webmcp

Commits

Daniel Poelzleithner  committed 1da1078

fix crash on eglibc

compiling without _GNU_SOURCE causes extos to crash on crypt as the return pointer is invalid.

  • Participants
  • Parent commits 9ef0c71
  • Branches default

Comments (0)

Files changed (1)

File Makefile.options

View file
 SLIB_EXT = so
 
 # C compiler flags
-CFLAGS = -O2 -Wall -I /usr/include -I /usr/local/include -I /usr/local/include/lua51 -I /usr/include/lua5.1
+CFLAGS = -O2 -D_GNU_SOURCE -fPIC -Wall -I /usr/include -I /usr/local/include -I /usr/local/include/lua51 -I /usr/include/lua5.1
 
 # additional C compiler flags for parts which depend on PostgreSQL
 CFLAGS_PGSQL = -I /usr/include/postgresql -I /usr/include/postgresql/server -I /usr/local/include/postgresql -I /usr/local/include/postgresql/server