abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgit.mk4
-rw-r--r--common.nix10
2 files changed, 7 insertions, 7 deletions
diff --git a/cgit.mk b/cgit.mk
index 0988310..e8a3d79 100644
--- a/cgit.mk
+++ b/cgit.mk
@@ -127,11 +127,11 @@ $(CGIT_PREFIX)CGIT-CFLAGS: FORCE
fi
$(CGIT_OBJS): %.o: %.c GIT-CFLAGS $(CGIT_PREFIX)CGIT-CFLAGS $(missing_dep_dirs)
- $(QUIET_CC)$(CC) -g -o $*.o -c $(dep_args) $(ALL_CFLAGS) $(EXTRA_CPPFLAGS) $(CGIT_CFLAGS) $<
+ $(QUIET_CC)$(CC) -o $*.o -c $(dep_args) $(ALL_CFLAGS) $(EXTRA_CPPFLAGS) $(CGIT_CFLAGS) $<
$(CGIT_PREFIX)cgit: $(CGIT_OBJS) GIT-LDFLAGS $(GITLIBS)
@echo 1>&1 " * $(LUA_MESSAGE)"
- $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -g -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS) $(CGIT_LIBS)
+ $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS) $(CGIT_LIBS)
file $@
CGIT_SP_OBJS := $(patsubst %.o,%.sp,$(CGIT_OBJS))
diff --git a/common.nix b/common.nix
index 8b3fced..b3c4f5d 100644
--- a/common.nix
+++ b/common.nix
@@ -41,11 +41,11 @@ stdenv.mkDerivation {
passthru
;
- separateDebugInfo = true;
-
- dontPatchELF = true;
- dontStrip = true;
- dontShrinkRpath = true;
+ # separateDebugInfo = true;
+ #
+ # dontPatchELF = true;
+ # dontStrip = true;
+ # dontShrinkRpath = true;
nativeBuildInputs = [
pkg-config