Skip to content

Commit 148917d

Browse files
committed
Move -g to CFLAGS to make it easier to remove/customize
1 parent d8cf9bf commit 148917d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ SONAME_SETTER=-Wl,-soname,
4646
# For cross compilation
4747
HOSTCC?=$(CC)
4848
HOSTAR?=$(AR)
49-
CFLAGS?=-O2
50-
LDFLAGS?=-rdynamic -g
49+
CFLAGS?=-O2 -g
50+
LDFLAGS?=-rdynamic
5151
RUN:=$(RUN)
5252

53-
COMMON_CFLAGS:=-std=c99 -Wall -Wextra -Isrc/include -Isrc/conf -fvisibility=hidden -fPIC -g
53+
COMMON_CFLAGS:=-std=c99 -Wall -Wextra -Isrc/include -Isrc/conf -fvisibility=hidden -fPIC
5454
BOOT_CFLAGS:=-DJANET_BOOTSTRAP -DJANET_BUILD=$(JANET_BUILD) -O0 $(COMMON_CFLAGS)
5555
BUILD_CFLAGS:=$(CFLAGS) $(COMMON_CFLAGS)
5656

0 commit comments

Comments
 (0)