From 148917d4caa79784fb00905bbb4b807e4964b05b Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Tue, 16 May 2023 21:10:18 -0500 Subject: [PATCH] Move -g to CFLAGS to make it easier to remove/customize --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 50d759a8..f5595310 100644 --- a/Makefile +++ b/Makefile @@ -46,11 +46,11 @@ SONAME_SETTER=-Wl,-soname, # For cross compilation HOSTCC?=$(CC) HOSTAR?=$(AR) -CFLAGS?=-O2 -LDFLAGS?=-rdynamic -g +CFLAGS?=-O2 -g +LDFLAGS?=-rdynamic RUN:=$(RUN) -COMMON_CFLAGS:=-std=c99 -Wall -Wextra -Isrc/include -Isrc/conf -fvisibility=hidden -fPIC -g +COMMON_CFLAGS:=-std=c99 -Wall -Wextra -Isrc/include -Isrc/conf -fvisibility=hidden -fPIC BOOT_CFLAGS:=-DJANET_BOOTSTRAP -DJANET_BUILD=$(JANET_BUILD) -O0 $(COMMON_CFLAGS) BUILD_CFLAGS:=$(CFLAGS) $(COMMON_CFLAGS)