commit - 19d747f7bf553c46c0385d960db0d4f6d5f4543a
commit + 92f27f7091a9ac1ad6f2e7e72aafe71436b9ab99
blob - b96fa54031b91ee3b26894533b25f6b0da0f177a
blob + 8e741204236a2eac2d5340b57fde5b4e4a7d1eb6
--- got/Makefile
+++ got/Makefile
CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
LDADD = -lutil -lz
DPADD = ${LIBZ} ${LIBUTIL}
-CC = gcc
-DEBUG = -O0 -pg
-CPPFLAGS += -DPROFILE
+DEBUG = -O0 -g
CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
# For now, default to installing binary in ~/bin
blob - 3ae4fc609a39598209ccaf1ba6d24074b0d5661a
blob + be95ec2118d5261062ef994e8f8d22a4a399606b
--- got/got.c
+++ got/got.c
argc -= optind;
argv += optind;
-#ifndef PROFILE
if (pledge("stdio rpath wpath cpath flock", NULL) == -1)
err(1, "pledge");
-#endif
+
if (argc == 1) {
char *cwd, *base, *dotgit;
repo_path = argv[0];
struct got_object *obj;
char *repo_path = NULL;
-#ifndef PROFILE
if (pledge("stdio rpath wpath cpath", NULL) == -1)
err(1, "pledge");
-#endif
+
if (argc == 1) {
repo_path = getcwd(NULL, 0);
if (repo_path == NULL)