]> pd.if.org Git - zpackage/commitdiff
compile sqlite with -O3
authorNathan Wagner <nw@hydaspes.if.org>
Sat, 24 Nov 2018 01:25:45 +0000 (01:25 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Sat, 24 Nov 2018 01:25:45 +0000 (01:25 +0000)
Makefile

index e845acc1ba1a39a68c1d88dce94ddabf10def339..6e31be41cdcff0abac078f3164436f88924e203a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ ZPM:= ./zpm -P.
 zpm-$(ZPMVER)-1.zpm: programs
        rm -f $@
        $(ZPM) newpackage -C zpm-$(ZPMVER)-1
-       $(ZPM) add -u root -g root -f $@ -P /sbin zpm-$(ZPMVER)-1 $(sort $(PROGRAMS))
+       $(ZPM) add -v -u root -g root -f $@ -P /sbin zpm-$(ZPMVER)-1 $(sort $(PROGRAMS))
 
 tarball: zpm-$(ZPMVER)-1.tar.xz
 
@@ -164,7 +164,7 @@ newdb.c: db.sql
        echo ", 0};" >> $@
 
 sqlite/sqlite3.o: sqlite/sqlite3.c sqlite/config.h
-       $(CC) -Wall -std=c99 -Ilib -D_HAVE_SQLITE_CONFIG_H=1 -c -o $@ $<
+       $(CC) -O3 -Wall -std=c99 -Ilib -D_HAVE_SQLITE_CONFIG_H=1 -c -o $@ $<
 
 sqlite/shell.o: sqlite/shell.c sqlite/config.h
        $(CC) -Wall -std=c99 -Ilib \