From c33fc551bff0499f6f697a1560806458ee7f2591 Mon Sep 17 00:00:00 2001 From: Patrick Date: Sun, 22 Feb 2026 23:46:17 +0100 Subject: rever debugging changes --- cgit.mk | 4 ++-- common.nix | 10 +++++----- 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 -- cgit v1.2.3