$NetBSD: patch-aa,v 1.5 2005/02/07 14:13:29 wiz Exp $ --- makefile.machine.orig 2005-01-23 16:18:54.000000000 +0100 +++ makefile.machine @@ -1,8 +1,7 @@ -ALLFLAGS=-Wall -O2 -s -fPIC \ +ALLFLAGS=-Wall -s -fPIC \ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \ -DNDEBUG -D_REENTRANT -DENV_UNIX \ - -DLITTLE_ENDIAN \ $(LOCAL_FLAGS) CXX=g++ $(ALLFLAGS) @@ -10,7 +9,7 @@ CC=gcc $(ALLFLAGS) LINK_SHARED=-shared LOCAL_LIBS=-lpthread -LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl +LOCAL_LIBS_DLL=$(LOCAL_LIBS) # static linkage # LOCAL_LIBS=-static -lpthread