else
HOSTCC = gcc
endif
-HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
+HOSTCFLAGS += -Wall -g -O3
HOSTSTRIP = strip
#########################################################################
-isystem $(gccincdir) -pipe $(PLATFORM_CPPFLAGS)
ifdef BUILD_TAG
-CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes \
+CFLAGS += $(CPPFLAGS) -Wall -Wstrict-prototypes \
-DBUILD_TAG='"$(BUILD_TAG)"'
else
-CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes
+CFLAGS += $(CPPFLAGS) -Wall -Wstrict-prototypes
+endif
+ifeq ($(ARCH),arm)
+CFLAGS += -marm -fno-stack-protector
endif
AFLAGS_DEBUG := -Wa,-gstabs