$NetBSD: patch-aa,v 1.5 2013/11/11 16:44:45 joerg Exp $ --- Makefile.orig 2012-12-12 23:41:33.000000000 +0000 +++ Makefile @@ -48,7 +48,9 @@ endif CC=gcc LD=gcc -LDFLAGS= +LDFLAGS= ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib \ + ${COMPILER_RPATH_FLAG}${X11BASE}/lib + WARN = -Wall -Wno-return-type -Wno-unknown-pragmas -Wshadow \ -Wpointer-arith -Wcast-align -Wstrict-prototypes \ @@ -63,13 +65,13 @@ ifeq ($(DEBUG),yes) CFLAGS += -O0 -g else CFLAGS = -O3 -funroll-loops -fexpensive-optimizations -ffast-math \ - -fomit-frame-pointer -frerun-cse-after-loop + -fomit-frame-pointer endif endif CFLAGS += \ $(CFL) $(WARN) \ - -I$(SYSTEM) -Iarch -I. + -I$(SYSTEM) -Iarch -I. \ prefix=/usr/local