Commit d4e1ff4fd2ac79e0a03f75cdc784d71e0543b3c1

Stefan Sperling 2019-07-08T17:31:50

fix compiler invocation with 'make PROFILE=1'

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/Makefile.inc b/Makefile.inc
index d8a7f34..e9583da 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -6,9 +6,8 @@ CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
 #CFLAGS += -DGOT_OBJ_CACHE_DEBUG
 
 .if defined(PROFILE)
-CC = gcc
 CPPFLAGS += -DPROFILE
-DEBUG = -O0 -pg
+DEBUG = -O0 -pg -g
 .else
 DEBUG = -O0 -g
 .endif