summaryrefslogtreecommitdiff
path: root/www/sogo/files/patch-general.make
blob: d97256eeef86ec8ec077658b34d53e9a92053434 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- general.make.orig	2020-12-24 01:44:13.874889000 -0500
+++ general.make	2020-12-24 01:44:34.714359000 -0500
@@ -16,6 +16,7 @@
 ADDITIONAL_OBJCFLAGS=-O2
 ifeq ($(debug),yes)
 ADDITIONAL_OBJCFLAGS=-O0
+ADDITIONAL_OBJCFLAGS += -g $(call cc-option,-frecord-gcc-switches)
 else
 ADDITIONAL_OBJCFLAGS=-Wuninitialized
 endif
@@ -23,5 +24,3 @@
 # information plus the compiler flags used; that can
 # be afterwards read with:
 # readelf -p .GCC.command.line /path/to/elf_file
-ADDITIONAL_OBJCFLAGS += -g $(call cc-option,-frecord-gcc-switches)
-