about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@peereboom.us>2016-05-06 11:00:19 -0500
committerMarco Peereboom <marco@peereboom.us>2016-05-06 11:00:19 -0500
commit28d140688dd5944df75568b2f6c785069a5883aa (patch)
tree6f3a42d62b31538a04e49ed7aed75c2acd9e1776
parent80a5f808f9d12d29c334e3ffda8869bf2ecd1457 (diff)
parentbbe1fe0a5b49fe7781bb440c230be964acf7295f (diff)
downloadxombrero-28d140688dd5944df75568b2f6c785069a5883aa.tar.gz
Merge pull request #139 from mexicarne/master HEAD master
Fix build on FreeBSD
-rw-r--r--freebsd/Makefile10
1 files changed, 5 insertions, 5 deletions
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)