|
@@ -25,6 +25,10 @@ BOOTCFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
|
-isystem $(shell $(CROSS32CC) -print-file-name=include)
|
|
-isystem $(shell $(CROSS32CC) -print-file-name=include)
|
|
BOOTAFLAGS := -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc
|
|
BOOTAFLAGS := -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc
|
|
|
|
|
|
|
|
+ifdef CONFIG_DEBUG_INFO
|
|
|
|
+BOOTCFLAGS += -g
|
|
|
|
+endif
|
|
|
|
+
|
|
ifeq ($(call cc-option-yn, -fstack-protector),y)
|
|
ifeq ($(call cc-option-yn, -fstack-protector),y)
|
|
BOOTCFLAGS += -fno-stack-protector
|
|
BOOTCFLAGS += -fno-stack-protector
|
|
endif
|
|
endif
|