From bbe1fe0a5b49fe7781bb440c230be964acf7295f Mon Sep 17 00:00:00 2001 From: Ruslan Makhmatkhanov Date: Fri, 6 May 2016 01:21:03 +0300 Subject: Fix build on FreeBSD This is a patch from https://github.com/conformal/xombrero/issues/131 by @cadadr. --- freebsd/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'freebsd/Makefile') diff --git a/freebsd/Makefile b/freebsd/Makefile index 3e3de1b..0f42e8c 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -9,7 +9,7 @@ LIBS+= libsoup-2.4 gnutls LDADD= -lutil GTK_CFLAGS!= pkgconf --cflags $(LIBS) GTK_LDFLAGS!= pkgconf --libs $(LIBS) -CFLAGS+= $(GTK_CFLAGS) -O2 -Wall -I. -I.. +CFLAGS+= $(GTK_CFLAGS) -O0 -Wall -I. -I.. LDFLAGS+= $(GTK_LDFLAGS) PREFIX?= /usr/local @@ -59,10 +59,10 @@ tldlist.o: ../tldlist.o ../xombrero.o: ../javascript.h ../tooltip.h -xombrero: xombrero.o freebsd.o marco.o about.o inspector.o whitelist.o settings.o \ - cookie.o history.o completion.o inputfocus.o tldlist.o externaleditor.o \ - unix.o - $(CC) $(LDFLAGS) -o $@ *.o $+ $(LDADD) +xombrero: ../xombrero.o freebsd.o ../marco.o ../about.o ../inspector.o ../whitelist.o \ + ../settings.o ../cookie.o ../history.o ../completion.o ../inputfocus.o ../tldlist.o \ + ../externaleditor.o ../unix.o + $(CC) $(LDFLAGS) -o $@ ${.ALLSRC} $(LDADD) install: all install -m 755 -d $(DESTDIR)$(BINDIR) -- cgit 1.4.1-2-gfad0