From 4af2842fc43143d76020b8cc3f4ece4a9922aa55 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 16 Sep 2011 13:04:03 -0400 Subject: Instead of detecting the host type, you may use --enable-compat instead. Enabling compat will build and link against a static library containing string functions not found in older version of glibc. --- src/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Makefile.in') diff --git a/src/Makefile.in b/src/Makefile.in index 7f1b5d6..1ab745e 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -189,8 +189,10 @@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -AM_CPPFLAGS = -I$(top_srcdir)/include -duser_LDFLAGS = -L$(top_srcdir)/compat +duser_POSIX = -D__USE_POSIX +AM_CFLAGS = ${duser_POSIX} --std=c99 -O2 -pedantic -Wall -Wextra +@HAVE_COMPAT_FALSE@duser_LDFLAGS = +@HAVE_COMPAT_TRUE@duser_LDFLAGS = -L$(top_srcdir)/compat -ldusercompat duser_SOURCES = duser.c \ user.c \ util.c \ -- cgit